You are not logged in.

#1 2011-01-19 16:59:51

kinhodder
Member
From: UK
Registered: 2010-04-18
Posts: 65
Website

pptpclient VPN routing problems

I'm trying to get pptpclient working with VyperVPN. I've followed the instructions on the wiki page, and I'm getting a connection to the VPN, judging by /var/log/daemon.log:

Jan 19 15:07:41 eee pppd[7515]: CHAP authentication succeeded
Jan 19 15:07:42 eee pppd[7515]: MPPE 128-bit stateless compression enabled
Jan 19 15:07:42 eee pppd[7515]: local  IP address 69.80.96.237
Jan 19 15:07:42 eee pppd[7515]: remote IP address 192.168.35.143

and ifconfig ppp0

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:69.80.96.237  P-t-P:192.168.35.143  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1396  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:188 (188.0 b)  TX bytes:306 (306.0 b)

I'm stuck when it comes to routing traffic through the VPN, though. The command suggested on the wiki

route add -net 192.168.35.143 netmask 255.255.255.255 dev ppp0

doesn't return any errors, nor does the ip-up script in the pptpclient docs, and (with either method) route -n looks okay to me:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.35.143  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
216.168.2.151   192.168.0.1     255.255.255.255 UGH   0      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     303    0        0 wlan0
0.0.0.0         192.168.0.1     0.0.0.0         UG    303    0        0 wlan0

Also, I've added the VPN's dns servers to my resolv.conf.

But... traffic isn't going through the VPN, according to traceroute/iftop/whatismyip.org, and I can't ping the remote IP address.

Any ideas? It seems like I must be missing a step somewhere...

Offline

Board footer

Powered by FluxBB