mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-16 00:12:54 +00:00
parent
2b7afa5dec
commit
f408e2e610
@ -2,5 +2,5 @@
|
|||||||
Address = ${INTERFACE}.1
|
Address = ${INTERFACE}.1
|
||||||
ListenPort = 51820
|
ListenPort = 51820
|
||||||
PrivateKey = $(cat /config/server/privatekey-server)
|
PrivateKey = $(cat /config/server/privatekey-server)
|
||||||
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
|
||||||
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
|
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE
|
||||||
|
Loading…
Reference in New Issue
Block a user