You are not logged in.
I am using wicd to manage my network connections.
I am now trying to establish a VPN connection via pptpsetup, but it turned out that it failed to get a sucessful connection. The following is some debuging information:
PS:
I can use the VPN on my Android phone and Windows 8 computer with their default settings.
The router used is TP-LINK WR841N. I also tried to make the VPN connection throgh a Windows XP guest in my Virtualbox, but I get a 619 ERROR.
jiang:~/ $ sudo pon kierk 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/kirk)
name jiang # (from /etc/ppp/peers/kirk)
remotename kirk # (from /etc/ppp/peers/kirk)
# (from /etc/ppp/peers/kirk)
pty pptp xxx.xxx.xxx.xxx --nolaunchpppd # (from /etc/ppp/peers/kirk)
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 kierk # (from /etc/ppp/peers/kirk)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/peers/kirk)
nodeflate # (from /etc/ppp/peers/kirk)
require-mppe-128 # (from /etc/ppp/peers/kirk)
noipx # (from /etc/ppp/options)
using channel 21
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x71ca3d38> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x71ca3d38> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x2c64d2c3> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x2c64d2c3> <pcomp> <accomp>]
rcvd [CHAP Challenge id=0x2b <a88a56750015778c17b36c340ab95b54>, name = "pptpd"]
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x71ca3d38> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x170af2bc> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x170af2bc> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x71ca3d38> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x71ca3d38]
rcvd [CHAP Challenge id=0x4f <e7fbc765e5caffc883e1fd5ac7ddd514>, name = "pptpd"]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
added response cache entry 0
sent [CHAP Response id=0x4f <6d44c943c527b9747f3a45fc527d2fe0000000037d7cd2d3359f8489fd322782173df80a2eb90bf200>, name = "jiang"]
rcvd [LCP EchoRep id=0x0 magic=0x170af2bc]
rcvd [CHAP Success id=0x4f "S=08E4FE5840F9196A9EF5377E65C8D20A2C030 M=Access granted"]
response found in cache (entry 0)
CHAP authentication succeeded
Couldn't set pass-filter in kernel: Invalid argument
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 ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.0.103>]
rcvd [IPCP ConfReq id=0x1 <addr 172.16.36.1>]
sent [IPCP ConfAck id=0x1 <addr 172.16.36.1>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 192.168.0.103>]
rcvd [IPCP ConfNak id=0x2 <addr 172.16.36.5>]
sent [IPCP ConfReq id=0x3 <addr 172.16.36.5>]
rcvd [IPCP ConfAck id=0x3 <addr 172.16.36.5>]
Cannot determine ethernet address for proxy ARP
local IP address 172.16.36.5
remote IP address 172.16.36.1
Script /etc/ppp/ip-up started (pid 13121)
Script /etc/ppp/ip-up finished (pid 13121), status = 0x0
Last edited by hellolj (2014-06-24 03:13:14)
Offline
hi , the error is specific of an incorrectly configured firewall , please check your router menu if you have enabled options like "PPTP VPN pass trough" if not you will manually need tot open port TCP port 1723 , and the GRE protocol (protocol 47 {not port})
___________________
Adevarul se afla dincolo de noi ...
IT Engineer
Offline
Hi,
I don't want to sound sarcastic but why didn't you try moving to the NetworkManager utility, I remember well that (yeah it's a Shitian) back in Backtrack 5 and even the fourth connexions were managed by wicd and always caused troubles at some point. NetworkManager handles very well VPN connections without problems and still allows you to make advances configurations. Maybe you should consider trying it in your Virtual Box and post results. Sometimes thiking easy avoids headaches and lets you relax.
On the other hand, it is true that router's "PPTP & VPN passthrough" option can cause troubles when using VPNs, and catalin's solution might be the best, but unless you absolutely need to use wicd (I can't think of a reason right now), you should consider easing things up with NetworkManager. Again just my belief.
Are you trying to connect a VPN or create a VPN connection betweed two points ?
Hope this helps.
Last edited by sugartest (2014-07-10 13:12:57)
An Arch Linux enthousiast and a Linux fan in general, mostly interrested in command line use, security issues, code learning and networks.
Offline