Fix #12, bind to IPv6 as well
This commit is contained in:
parent
014d1b0e19
commit
c1db481469
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
# https://wiki.strongswan.org/projects/strongswan/wiki/ForwardingAndSplitTunneling
|
||||
# Continue reading: https://wiki.strongswan.org/projects/strongswan/wiki/VirtualIP
|
||||
sysctl net.ipv4.ip_forward=1
|
||||
sysctl net.ipv6.conf.all.forwarding=1
|
||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/16 -o eth0 -m policy --dir out --pol ipsec -j ACCEPT
|
||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/16 -o eth0 -j MASQUERADE
|
||||
|
||||
|
|
Loading…
Reference in a new issue