install_openvpn: mullvad-up.sh: fixed route

netsplit
Niklas Yann Wettengel 7 years ago
parent fbaa342904
commit a82c38b924

@ -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

Loading…
Cancel
Save