diff --git a/openvpn-install.sh b/openvpn-install.sh index a915034..7c7f429 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -603,7 +603,7 @@ verb 3" >> /etc/openvpn/server.conf # Enable routing echo 'net.ipv4.ip_forward=1' >> $SYSCTL if [[ "$IPV6" = 'y' ]]; then - echo 'net.ipv6.ip_forward=1' >> $SYSCTL + echo 'net.ipv6.conf.all.forwarding=1' >> $SYSCTL fi # Avoid an unneeded reboot sysctl -p