summaryrefslogtreecommitdiff
path: root/roles/install_openvpn/files/mullvad-up.sh
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 14:14:00 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 14:14:00 +0200
commitb426d1703138aab02da569a5fee22bbbc1de401b (patch)
tree1e5cff1ab8590eada35c7ccb84cd56e7d5fa5bbd /roles/install_openvpn/files/mullvad-up.sh
parentafdc5fe92bee26b9c056428e09b08add81a7ba6d (diff)
enable ipv6 exit via mullvad
Diffstat (limited to 'roles/install_openvpn/files/mullvad-up.sh')
-rwxr-xr-xroles/install_openvpn/files/mullvad-up.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/install_openvpn/files/mullvad-up.sh b/roles/install_openvpn/files/mullvad-up.sh
index 75a9632..9a339f0 100755
--- a/roles/install_openvpn/files/mullvad-up.sh
+++ b/roles/install_openvpn/files/mullvad-up.sh
@@ -3,5 +3,6 @@
sleep 3
echo Reroute via $route_vpn_gateway
ip route replace 0.0.0.0/0 via $route_vpn_gateway proto static table ffmyk
+ip -6 route replace default dev $dev proto static table ffmyk
exit 0