View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1377
Originally Posted by sixwheeledbeast View Post
We need to see your script.
You have removed the comment hash from the beginning?
of course i removed the hash... here is my script

clear
pppd call vpnconnection
sleep 3
route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.0.120 ppp0
route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.120 ppp0
echo "VPN Connected - Press CTRL+C to disconnect"
ping 192.168.0.120>/dev/null

this script can be called from the terminal just by writing 'vpn'