|
@@ -11,7 +11,7 @@ ip route del default
|
|
echo SETTING $VPN_IP as the only ip to get routed through $VPN_GW
|
|
echo SETTING $VPN_IP as the only ip to get routed through $VPN_GW
|
|
ip route add $VPN_IP via $VPN_GW
|
|
ip route add $VPN_IP via $VPN_GW
|
|
echo Adding 192.168.0.0/16 to the route
|
|
echo Adding 192.168.0.0/16 to the route
|
|
-ip route add 192.168.0.0/16 VIA $VPN_GW
|
|
|
|
|
|
+ip route add 192.168.0.0/16 via $VPN_GW
|
|
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
|
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
|
echo Starting openvpn
|
|
echo Starting openvpn
|
|
ip route
|
|
ip route
|