Skip to content

Running UpSnap from a bridge? #202

Answered by MirisWisdom
Jaxel asked this question in Help wanted
Discussion options

You must be logged in to vote

Steps which worked on my end:

  1. Create an external network bridge: docker network create biscuit-network
  2. In Docker Compose, link the UpSnap container to the created network bridge:
services:
  upsnap:
    # ...

networks:
  default:
    name: biscuit-network
    external: true
  1. On the Docker host, instruct sysctl with the following parameters:
sudo su

interface=$(docker network inspect biscuit-network --format '{{.Id}}')
interface=br-${interface:0:12}

sysctl net.ipv4.icmp_echo_ignore_broadcasts=0
sysctl net.ipv4.conf.all.bc_forwarding=1
sysctl net.ipv4.conf.${interface}.bc_forwarding=1

Tips:

You can persist the sysctl declarations, e.g. in /etc/sysctl.d/99-upsnap.conf.

To manually get …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by seriousm4x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants