From 9a70b8307366fdff6ca1085c26eda68ccf8172a2 Mon Sep 17 00:00:00 2001 From: Angristan Date: Thu, 5 Jul 2018 22:53:44 +0200 Subject: [PATCH] Fix IPv6 forwarding --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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