summaryrefslogtreecommitdiff
path: root/roles/install_openvpn/files/mullvad-up.sh
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-22 11:55:17 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-22 11:55:17 +0100
commita82c38b92409bf666a15e5571c45a6b92abd2b73 (patch)
treefe6038a6055a1e9211cf789e7d3665d4da876629 /roles/install_openvpn/files/mullvad-up.sh
parentfbaa342904fe6e03188b4d59259103bef9aac724 (diff)
install_openvpn: mullvad-up.sh: fixed route
Diffstat (limited to 'roles/install_openvpn/files/mullvad-up.sh')
-rwxr-xr-xroles/install_openvpn/files/mullvad-up.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/install_openvpn/files/mullvad-up.sh b/roles/install_openvpn/files/mullvad-up.sh
index 441f857..c3e3193 100755
--- a/roles/install_openvpn/files/mullvad-up.sh
+++ b/roles/install_openvpn/files/mullvad-up.sh
@@ -1,8 +1,8 @@
#!/bin/bash
#/sbin/ip route replace default via $4 table ffmyk
sleep 3
-echo Reroute via $4
-ip route replace 0.0.0.0/1 via $4 table ffmyk
-ip route replace 128.0.0.0/1 via $4 table ffmyk
+echo Reroute via $route_vpn_gateway
+ip route replace 0.0.0.0/1 via $route_vpn_gateway table ffmyk
+ip route replace 128.0.0.0/1 via $route_vpn_gateway table ffmyk
exit 0