[Openswan Users] L2TP connection dies after successful dial in
Paul Wouters
paul at xelerance.com
Sun Jan 9 16:52:05 EST 2011
On Mon, 3 Jan 2011, Werner Stocker wrote:
> I configured OpenSWAN for L2TP with a tutorial. Everything works fine
> except, that the connection is disconnected each time it is set up. As
> far as I can see, the problem lies in the ppp, where ccp compression is
> used, even if I add noccp to the options.xl2tpd configuration file. Can
> someone help me out, how to really disable ccp?
That's not your issue.
> Jan 3 23:16:52 delta pppd[12842]: pppd 2.4.5 started by root, uid 0
> Jan 3 23:16:52 delta pppd[12842]: using channel 29
> Jan 3 23:16:52 delta pppd[12842]: Using interface ppp0
> Jan 3 23:16:52 delta pppd[12842]: Connect: ppp0 <--> /dev/pts/3
> Jan 3 23:16:52 delta pppd[12842]: sent [LCP ConfReq id=0x1 <mru 1410>
> <asyncmap 0x0> <auth chap MD5> <magic 0x1cba394a> <pcomp> <accomp>]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [LCP ConfReq id=0x1 <mru 1400>
> <asyncmap 0x0> <magic 0xf774f011> <pcomp> <accomp>]
> Jan 3 23:16:53 delta pppd[12842]: sent [LCP ConfAck id=0x1 <mru 1400>
> <asyncmap 0x0> <magic 0xf774f011> <pcomp> <accomp>]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [LCP ConfAck id=0x1 <mru 1410>
> <asyncmap 0x0> <auth chap MD5> <magic 0x1cba394a> <pcomp> <accomp>]
> Jan 3 23:16:53 delta pppd[12842]: sent [LCP EchoReq id=0x0
> magic=0x1cba394a]
> Jan 3 23:16:53 delta pppd[12842]: sent [CHAP Challenge id=0xcf
> <855d63b70227e4ed0fc6d48a16209c00093cb44a3716a1>, name = "LinuxVPNserver"]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [LCP EchoRep id=0x0
> magic=0xf774f011]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [CHAP Response id=0xcf
> <a535999c9bebdcbcc3305bb7559502e5>, name = "wstocker"]
> Jan 3 23:16:53 delta pppd[12842]: sent [CHAP Success id=0xcf "Access
> granted"]
> Jan 3 23:16:53 delta pppd[12842]: sent [IPCP ConfReq id=0x1 <compress
> VJ 0f 01> <addr 192.168.0.200>]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [CCP ConfReq id=0x1 <deflate 15>
> <deflate(old#) 15> <bsd v1 15>]
> Jan 3 23:16:53 delta pppd[12842]: Unsupported protocol 'Compression
> Control Protocol' (0x80fd) received
> Jan 3 23:16:53 delta pppd[12842]: sent [LCP ProtRej id=0x2 80 fd 01 01
> 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [IPCP ConfReq id=0x1 <compress
> VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
> Jan 3 23:16:53 delta pppd[12842]: sent [IPCP ConfNak id=0x1 <addr
> 192.168.0.201> <ms-dns1 192.168.0.1> <ms-dns2 192.168.0.1>]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [IPCP ConfAck id=0x1 <compress
> VJ 0f 01> <addr 192.168.0.200>]
> Jan 3 23:16:53 delta pppd[12842]: rcvd [IPCP ConfReq id=0x2 <compress
> VJ 0f 01> <addr 192.168.0.201> <ms-dns1 192.168.0.1> <ms-dns2 192.168.0.1>]
> Jan 3 23:16:53 delta pppd[12842]: sent [IPCP ConfAck id=0x2 <compress
> VJ 0f 01> <addr 192.168.0.201> <ms-dns1 192.168.0.1> <ms-dns2 192.168.0.1>]
> Jan 3 23:16:53 delta pppd[12842]: found interface eth0 for proxy arp
> Jan 3 23:16:53 delta pppd[12842]: local IP address 192.168.0.200
> Jan 3 23:16:53 delta pppd[12842]: remote IP address 192.168.0.201
> Jan 3 23:16:53 delta pppd[12842]: Script /etc/ppp/ip-up started (pid 12850)
> Jan 3 23:16:54 delta pppd[12842]: Script /etc/ppp/ip-up finished (pid
> 12850), status = 0x0
At this point, your ipsec/l2tp tunnel is fully up and you got an ip.
> Jan 3 23:17:05 delta pppd[12842]: rcvd [LCP TermReq id=0x2 "User request"]
> Jan 3 23:17:05 delta pppd[12842]: LCP terminated by peer (User request)
Then your client tells the server to hang up. Tell your client not to do that?
Paul
More information about the Users
mailing list