Member
Posts: 133
Registered: ‎04-10-2014
Kudos: 118
Solutions: 11
Contributions: 1

PPTP client for BoxPN won't connect. Force Ms-chap v2 ?

Hi,

I've spent a few hours trying to connect the ERL to my boxpn vpn without success.

I'm connected ok from osx and ios.

Using this tuto I could connect from an ubuntu VM : http://www.myhowto.org/linux/2013/04/13/configuring-boxpn-on-linux/ (worked first try took 5 mins...)

But still no luck with the ERL Man Sad

Here's the conf :

    pptp-client pptpc0 {
        default-route auto
        mtu 1500
        name-server auto
        password PWD
        server-ip 173.234.157.235
        user-id LOGIN
        require-mppe      
    }

 require-mppe doesn't change anything.

Here's the pptp log 

Script /usr/sbin/pptp 173.234.157.235 --nolaunchpppd finished (pid 3695), status = 0x0
Serial connection established.
using channel 40
Using interface ppp1
Connect: ppp1 <--> /dev/pts/2
sent [LCP ConfReq id=0x9 <magic 0x5e66a1d7> <pcomp>]
rcvd [LCP ConfReq id=0x1 <mru 1490> <asyncmap 0x0> <auth chap MS-v2> <magic 0x275457a5> <pcomp> <accomp>]
lcp_reqci: returning CONFREJ.
sent [LCP ConfRej id=0x1 <asyncmap 0x0> <accomp>]
rcvd [LCP ConfAck id=0x9 <magic 0x5e66a1d7> <pcomp>]
rcvd [LCP ConfReq id=0x2 <mru 1490> <auth chap MS-v2> <magic 0x275457a5> <pcomp>]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x2 <mru 1490> <auth chap MS-v2> <magic 0x275457a5> <pcomp>]
sent [LCP EchoReq id=0x0 magic=0x5e66a1d7]
rcvd [LCP EchoReq id=0x0 magic=0x275457a5]
sent [LCP EchoRep id=0x0 magic=0x5e66a1d7]
rcvd [CHAP Challenge id=0xb0 <ac62c79bc56d266533b692ebf36ee70f>, name = "pptpd"]
sent [CHAP Response id=0xb0 <941f1fde43099f7f16dd8bb2e069956e0000000000000000f0db20476b427b64daab806131f380bd5dc803e2746b95ca00>, name = "LOGIN"]
rcvd [LCP EchoRep id=0x0 magic=0x275457a5]
rcvd [CHAP Failure id=0xb0 ""]
MS-CHAP authentication failed:
CHAP authentication failed
sent [LCP TermReq id=0xa "Failed to authenticate ourselves to peer"]
rcvd [LCP TermReq id=0x3 "Authentication failed"]
sent [LCP TermAck id=0x3]
rcvd [LCP TermAck id=0xa]

 What did I miss ?

Thanks

Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5474
Solutions: 1656
Contributions: 2

Re: PPTP client for BoxPN won't connect. Force Ms-chap v2 ?

If I understand the log messages correctly, it seems that it's already using MS-CHAPv2? Do you see something from some other place indicating that's not the case? Also is there any special character in the password (just to make sure it's not a bug in password handling).

Member
Posts: 133
Registered: ‎04-10-2014
Kudos: 118
Solutions: 11
Contributions: 1

Re: PPTP client for BoxPN won't connect. Force Ms-chap v2 ?

Thanks Acheng.

I've changed the password to something very simple to check that point, as the $ sign in the original bothered me as you suspected.

I'll try to compare with the logs of the VM.

Member
Posts: 133
Registered: ‎04-10-2014
Kudos: 118
Solutions: 11
Contributions: 1

Re: PPTP client for BoxPN won't connect. Force Ms-chap v2 ?

@UBNT-anchen do you mind testing I'd PM you the codes.