Fix incorrect IPv6 private address, fix #25
This commit is contained in:
parent
88c30dca50
commit
8fb59e844f
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ sysctl net.ipv6.conf.all.forwarding=1
|
|||
sysctl net.ipv6.conf.eth0.proxy_ndp=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
|
||||
ip6tables -t nat -A POSTROUTING -s 2a00:1450:400c:c05::/64 -o eth0 -m policy --dir out --pol ipsec -j ACCEPT
|
||||
ip6tables -t nat -A POSTROUTING -s 2a00:1450:400c:c05::/64 -o eth0 -j MASQUERADE
|
||||
ip6tables -t nat -A POSTROUTING -s fd6a:6ce3:c8d8:7caa::/64 -o eth0 -m policy --dir out --pol ipsec -j ACCEPT
|
||||
ip6tables -t nat -A POSTROUTING -s fd6a:6ce3:c8d8:7caa::/64 -o eth0 -j MASQUERADE
|
||||
|
||||
# hotfix for openssl `unable to write 'random state'` stderr
|
||||
SHARED_SECRET="123$(openssl rand -base64 32 2>/dev/null)"
|
||||
|
|
Loading…
Reference in a new issue