You are not logged in.

#1 2016-08-21 14:49:05

retogenes
Member
Registered: 2016-01-21
Posts: 33

Trying to connect to a PPTP VPN

I am trying to connect to a PPTP VPN in a fully updated/upgraded arch linux following the instructions in:

https://wiki.archlinux.org/index.php?title=PPTP_Client

With no results whatsoever. I configured my tunnel with pptpsetup. Once activated with pon, a ppp0 device appears in my ip l. However, when I try to route to the VPN, either by running

ip route add default dev ppp0

or by adding a /etc/ppp/ip-up.d/01-routes.sh file as explained in the wiki, my browser no longer loads webpages. It may be a DNS problem, as I can still ping external IPs (e.g. 8.8.8.8). It is not a hardware issue, as I have exactly the same problem in another computer.

Any idea on what I may be doing wrong or not understanding?

Some outputs:

$pon <TUNNEL> debug dump logfd 2 nodetach

pppd options in effect:
debug		# (from command line)
nodetach		# (from command line)
logfd 2		# (from command line)
dump		# (from command line)
noauth		# (from /etc/ppp/peers/my_tunnel	)
name my_name		# (from /etc/ppp/peers/my_tunnel	)
remotename my_tunnel		# (from /etc/ppp/peers/my_tunnel	)
		# (from /etc/ppp/peers/my_tunnel	)
pty pptp vpn.my_vpn.com --nolaunchpppd		# (from /etc/ppp/peers/my_tunnel	)
crtscts		# (from /etc/ppp/options)
		# (from /etc/ppp/options)
asyncmap 0		# (from /etc/ppp/options)
lcp-echo-failure 4		# (from /etc/ppp/options)
lcp-echo-interval 30		# (from /etc/ppp/options)
hide-password		# (from /etc/ppp/options)
ipparam my_tunnel			# (from /etc/ppp/peers/my_tunnel )
proxyarp		# (from /etc/ppp/options)
nobsdcomp		# (from /etc/ppp/peers/my_tunnel	)
nodeflate		# (from /etc/ppp/peers/my_tunnel	)
require-mppe-128		# (from /etc/ppp/peers/my_tunnel	)
noipx		# (from /etc/ppp/options)
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc4f0a97f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xe81f5641> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xe81f5641> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xc4f0a97f> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xc4f0a97f]
rcvd [LCP EchoReq id=0x0 magic=0xe81f5641]
sent [LCP EchoRep id=0x0 magic=0xc4f0a97f]
rcvd [CHAP Challenge id=0x27 <d73b2f01d59dc5cbd67e3abe6de04f34>, name = "pptpd"]
added response cache entry 0
sent [CHAP Response id=0x27 <bd65a4a79c39f8c84b407c57e5b914fa00000000000000005d9def040142bf952f30a1a013fec952fc17d183f4cb8ac100>, name = "my_name"]
rcvd [LCP EchoRep id=0x0 magic=0xe81f5641]
rcvd [CHAP Success id=0x27 "S=A100606B6457A1E7B7C13A0F3E25EB545FB76B4D"]
response found in cache (entry 0)
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
sent [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 193.61.68.227>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 193.61.68.227>]
rcvd [IPCP ConfNak id=0x1 <addr 129.31.242.228>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 129.31.242.228>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 129.31.242.228>]
Cannot determine ethernet address for proxy ARP
local  IP address 129.31.242.228
remote IP address 193.61.68.227
Script /etc/ppp/ip-up started (pid 2136)
Script /etc/ppp/ip-up finished (pid 2136), status = 0x0

Offline

#2 2016-08-21 20:38:38

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: Trying to connect to a PPTP VPN

I can't comment on pptpsetup as I've never used it, but one thing to check if relevant is your router settings. On the router I have, I had to specifically enable "PPTP Pass-Through" for my VPN to work.

Offline

#3 2016-08-23 11:39:31

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: Trying to connect to a PPTP VPN

I imagine this is only important if I host the VPN server (not relevant in my case, as I am trying to access an institutional VPN). Anyway, I tried changing that in my home router and still no success...

Offline

Board footer

Powered by FluxBB