Hi There,
I'm trying to access a couple of sites using a pptp based vpn. I've
got this up and running using a patched 2.4.20 kernel, and pppd 2.4.1.
The problem I've got is rather weird. I've got one site that I connect
to, and it connects with MSCHAP V2/MPPE 128/MPPC compression. I've got
another one, which I can't connect to, and it is using MSCHAP/MPPE
40/No compression. It refuses to authenticate, even though the correct
passwords are in the chap secrets file.
So how come I can connect to the difficult one, but the easy one
fails???
Here's an extract from the log...
Jul 10 16:45:01 linux pptp[23104]:
log[pptp_dispatch_ctrl_packet

ptp_ctrl.c:580]: Client connection
established.
Jul 10 16:45:03 linux pptp[23104]:
log[pptp_dispatch_ctrl_packet

ptp_ctrl.c:708]: Outgoing call
established (call ID 0, peer's call ID 58).
Jul 10 16:45:03 linux pppd[23132]: pppd 2.4.1 started by root, uid 0
Jul 10 16:45:03 linux pppd[23132]: using channel 586
Jul 10 16:45:03 linux pppd[23132]: Using interface ppp0
Jul 10 16:45:03 linux pppd[23132]: Connect: ppp0 <--> /dev/pts/3
Jul 10 16:45:03 linux pppd[23132]: sent [LCP ConfReq id=0x1 <mru 1458>
<asyncmap 0x0> <magic 0x67890> <pcomp> <accomp>]
Jul 10 16:45:05 linux pppd[23132]: rcvd [LCP ConfReq id=0x1 <auth chap
m$oft> <magic 0x12345>]
Jul 10 16:45:05 linux pppd[23132]: sent [LCP ConfAck id=0x1 <auth chap
m$oft> <magic 0x12345>]Jul 10 16:45:05 linux pppd[23132]: rcvd [LCP
ConfRej id=0x1 <mru 1458> <asyncmap 0x0> <pcomp> <accomp>]
Jul 10 16:45:05 linux pppd[23132]: sent [LCP ConfReq id=0x2 <magic
0x67890>]
Jul 10 16:45:06 linux pppd[23132]: rcvd [LCP ConfAck id=0x2 <magic
0x67890>]
Jul 10 16:45:06 linux pppd[23132]: sent [LCP EchoReq id=0x0
magic=0x67890]
Jul 10 16:45:06 linux pppd[23132]: cbcp_lowerup
Jul 10 16:45:06 linux pppd[23132]: want: 2
Jul 10 16:45:06 linux pppd[23132]: rcvd [CHAP Challenge id=0x1
<52bdfe0b150>, name = ""]
Jul 10 16:45:06 linux pppd[23132]: sent [CHAP Response id=0x1
<81e0f93...GREAT BIG LONG NUMBER...beb8fe96201>, name = "MyUser"]
Jul 10 16:45:07 linux pppd[23132]: rcvd [LCP EchoRep id=0x0
magic=0x67890]
Jul 10 16:45:07 linux pppd[23132]: rcvd [CHAP Failure id=0x1
"Authentication failed."]
Jul 10 16:45:07 linux pppd[23132]: Remote message: Authentication
failed.
Jul 10 16:45:07 linux pppd[23132]: CHAP authentication failed
Jul 10 16:45:07 linux pppd[23132]: cbcp_lowerdown
Jul 10 16:45:07 linux pppd[23132]: sent [LCP TermReq id=0x3 "Failed to
authenticate ourselves to peer"]
Jul 10 16:45:07 linux pppd[23132]: rcvd [LCP TermReq id=0x2
"Authentication failed"]
Jul 10 16:45:07 linux pppd[23132]: sent [LCP TermAck id=0x2]
Jul 10 16:45:08 linux pppd[23132]: rcvd [LCP TermAck id=0x3]
Jul 10 16:45:08 linux pppd[23132]: Connection terminated.
Jul 10 16:45:09 linux pppd[23132]: Exit.
Are there any options that need to be enabled in the
options.pptp/peers file for MSCHAP/MPPE 40 alone? I've got
mppe-40
mppe-128
mppe-stateless
but no specific authentication.
TIA,
Steve