Quantcast
Viewing all articles
Browse latest Browse all 373

Comment on Using a Point-to-Point Tunnelling Protocol, Virtual Private Network (PPTP VPN) client on a Raspberry Pi by gauss4

Thanks for the quick response Ben. Unfortunately I really cannot see what could be wrong with my settings. After entering my server configuration and running route -n I get the following:

sudo pptpsetup –create piaUKLon –server uk-london.privateinternetaccess.com –username *** –password *** –encrypt –start

Using interface ppp0
Connect: ppp0 /dev/pts/1
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local IP address 10.1.1.11
remote IP address 10.1.1.1

route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
10.1.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
126.187.18.14 192.168.0.254 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Then the re-route to tunnel command:

sudo route add -net “0.0.0.0/0″ dev “ppp0″

and route -n again:

route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
10.1.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
126.187.18.14 192.168.0.254 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

(Where I have changed some of the numbers for security reasons)

Can you see anything that might be wrong?

Ah yes, I almost forgot. I connect to my Pi through LAN on my desktop PC through SSH. Could this be a problem? And if I did get the tunnel to work could I still connect to the Pi through the LAN in the usual way?

Once again any input would be much appreciated.

Thanks

Gauss4


Viewing all articles
Browse latest Browse all 373

Trending Articles