Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
Merge pull request #10 from penguineer/readme-fix-docker-call
Browse files Browse the repository at this point in the history
Remove forbidden arguments from docker call
  • Loading branch information
christf authored Jan 20, 2023
2 parents b537015 + 1d7bd60 commit 80d7461
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ docker run -a stdin -a stdout -a stderr -it --rm --name wg \
--device /dev/net/tun:/dev/net/tun \
--env-file ./env-file \
--privileged \
--sysctl net.ipv6.conf.all.forwarding=1 \
--sysctl net.ipv6.conf.all.accept_redirects=0 \
--sysctl net.ipv4.conf.all.rp_filter=0 ffmd/wg-docker
ffmd/wg-docker
```

The required settings are:

* sysctls as babeld will require them: net.ipv6.conf.all.accept_redirects=0, net.ipv4.conf.all.rp_filter=0, net.ipv6.conf.all.forwarding=1
* sysctls as babeld will require them:
* `net.ipv6.conf.all.accept_redirects=0`
* `net.ipv4.conf.all.rp_filter=0`
* `net.ipv6.conf.all.forwarding=1`
* tun device: l3roamd and mmfd will require it: \
--device /dev/net/tun:/dev/net/tun
* the NET_ADMIN capability is required by mmfd, l3roamd, babeld
Expand Down

0 comments on commit 80d7461

Please sign in to comment.