pptpconfig dotpup to setup PPTP VPN connection
Sometimes my router gets confused if I have a tunnel open from one machine, then close the tunnel and soon after try and open a tunnel from a different machine. I would recommend rebooting the router just in case.
I presume you have replaced the busybox ip command with the full one.
I don't use pptpconfig anymore. Here is the script I run by hand, it works in several puppy versions providing I have installed ip. The routing sends all traffic via the tunnel
I presume you have replaced the busybox ip command with the full one.
I don't use pptpconfig anymore. Here is the script I run by hand, it works in several puppy versions providing I have installed ip. The routing sends all traffic via the tunnel
Code: Select all
#!/bin/sh
cp /etc/resolv.conf /etc/resolv.conf.orig
pptp 152.78.A.B user MYNAME password MYPASSWORD hide-password noauth debug require-mppe
IP=$(ifconfig | grep 'inet addr' | egrep -v '127.0.0.1|P-t-P' | cut -f 2 -d ':' | cut -f 1 -d ' ')
route -n #(after pppd exit)
echo
sleep 1
ip route replace 152.78.A.B via 192.168.1.1 dev eth0 src $IP
route del default
sleep 1
route -n
route add default dev ppp0
sleep 1
route -n #(after completion)
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
that's why i liked your pptpconfig, because you had sorted out the routing options so i could have the tunnel open and my vpn running but still use my browser, email etc accessing local machines and the rest of the internet transparently.HairyWill wrote:The routing sends all traffic via the tunne
or have i misunderstood? (as so often with routing and ip ... )
paul
Just in case there is some misconception I didn't write it.paulh177 wrote:that's why i liked your pptpconfig
http://sourceforge.net/project/showfile ... p_id=33063
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]