diff --git a/bin/ovpn_run b/bin/ovpn_run index 7f03e44..920200c 100755 --- a/bin/ovpn_run +++ b/bin/ovpn_run @@ -55,8 +55,8 @@ if [ $? = 0 ]; then # If this fails, ensure the docker container is run with --privileged # Could be side stepped with `ip netns` madness to drop privileged flag - sysctl net.ipv6.conf.default.forwarding=1 || echo "Failed to enable IPv6 Forwarding default" - sysctl net.ipv6.conf.all.forwarding=1 || echo "Failed to enable IPv6 Forwarding" + sysctl -w net.ipv6.conf.default.forwarding=1 || echo "Failed to enable IPv6 Forwarding default" + sysctl -w net.ipv6.conf.all.forwarding=1 || echo "Failed to enable IPv6 Forwarding" fi if [ "$#" -gt 0 ]; then