ovpn_run: Fix sysctl IPv6 forwarding write
* I'm not sure if this ever worked without the `-w` flag. Perhaps in an old version of sysctl?
This commit is contained in:
parent
e50f4dcc23
commit
e7d0d4ea0e
@ -55,8 +55,8 @@ if [ $? = 0 ]; then
|
|||||||
# If this fails, ensure the docker container is run with --privileged
|
# If this fails, ensure the docker container is run with --privileged
|
||||||
# Could be side stepped with `ip netns` madness to drop privileged flag
|
# 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 -w 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.all.forwarding=1 || echo "Failed to enable IPv6 Forwarding"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$#" -gt 0 ]; then
|
if [ "$#" -gt 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user