LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Linux PPTP client fails to connect to Microsoft ISA PPTP server (http://www.linuxquestions.org/questions/linux-networking-3/linux-pptp-client-fails-to-connect-to-microsoft-isa-pptp-server-756051/)

dCriminal 09-17-2009 06:58 PM

Linux PPTP client fails to connect to Microsoft ISA PPTP server
 
Hi guys,

I'm trying to connect to a Microsoft ISA PPTP server from my Linux box. The box I'm connecting from is itself a router. I have no problem connecting a Windows XP machine to the VPN via this machine. This is fine, but I would rather connect via the Linux machine, giving me far more advanced routing options (i.e. no to send every packet from the XP box completely unnecessarily via the PPTP tunnel). The Linux router is running Debian Lenny.

I've checked iptables. There were initially some issues. I've fixed those.

Invoking pppd from the console, I can see that authentication succeeds, but then some negotiation goes wrong and the server terminates the connection. Here's the output from pppd, with the more sensitive stuff removed:

Code:

<hostname>:~# pppd call <peer> nodetach debug
using channel 19
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe3e45f75> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1400> <auth chap MS-v2> <magic 0x6ee220ad> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:8f.aa.0e.8a.1e.fb.4c.ed.be.a7.07.71.02.0e.52.c6.00.00.00.00]> < 17 04 00 0b>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 00 0b>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe3e45f75> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth chap MS-v2> <magic 0x6ee220ad> <pcomp> <accomp> <endpoint [local:8f.aa.0e.8a.1e.fb.4c.ed.be.a7.07.71.02.0e.52.c6.00.00.00.00]>]
sent [LCP ConfAck id=0x1 <mru 1400> <auth chap MS-v2> <magic 0x6ee220ad> <pcomp> <accomp> <endpoint [local:8f.aa.0e.8a.1e.fb.4c.ed.be.a7.07.71.02.0e.52.c6.00.00.00.00]>]
sent [LCP EchoReq id=0x0 magic=0xe3e45f75]
rcvd [CHAP Challenge id=0x0 <c86421637ddaba21935a45728b0c12db>, name = "<servername>"]
sent [CHAP Response id=0x0 <f2d0d7c6e80d163a185705e46421757100000000000000009bdeefa91384fbe9aa8bd14031168fdc5fe74c72c973ad0e00>, name = "<username>"]
rcvd [LCP EchoRep id=0x0 magic=0x6ee220ad]
rcvd [CHAP Success id=0x0 "S=549310EDF056388D820A5795EE2A6BE864B230C5"]
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x3 <mppe +H +M +S +L -D +C>]
sent [CCP ConfReq id=0x1]
sent [CCP ConfRej id=0x3 <mppe +H +M +S +L -D +C>]
rcvd [IPCP ConfReq id=0x4 <addr 10.1.1.1>]
sent [IPCP ConfAck id=0x4 <addr 10.1.1.1>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [CCP ConfNak id=0x1 <mppe -H -M -S -L -D -C>]
sent [CCP ConfReq id=0x2]
rcvd [LCP TermReq id=0x5 "n\37777777742 \37777777655\000<\37777777715t\000\000\002\37777777746"]
LCP terminated by peer (nM-b M--^@<M-Mt^@^@^BM-f)
sent [LCP TermAck id=0x5]
Connection terminated.
Script pptp <hostname> --nolaunchpppd finished (pid 17445), status = 0x0
Modem hangup

Any ideas, anyone?

mstjohn1974 10-27-2009 12:33 PM

I am connecting all the time to MS PPTP follow this instructions maybe that will help

http://mstjohn1974.blogspot.com/2009...rver-with.html


All times are GMT -5. The time now is 01:48 PM.