Fix IPv6 forwarding
This commit is contained in:
parent
d1ab72b1d6
commit
9a70b83073
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ verb 3" >> /etc/openvpn/server.conf
|
||||||
# Enable routing
|
# Enable routing
|
||||||
echo 'net.ipv4.ip_forward=1' >> $SYSCTL
|
echo 'net.ipv4.ip_forward=1' >> $SYSCTL
|
||||||
if [[ "$IPV6" = 'y' ]]; then
|
if [[ "$IPV6" = 'y' ]]; then
|
||||||
echo 'net.ipv6.ip_forward=1' >> $SYSCTL
|
echo 'net.ipv6.conf.all.forwarding=1' >> $SYSCTL
|
||||||
fi
|
fi
|
||||||
# Avoid an unneeded reboot
|
# Avoid an unneeded reboot
|
||||||
sysctl -p
|
sysctl -p
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue