[Openswan Users] Fwd: Re: Please help: strange behaviour with OpenSwan/xl2tpd & Android vpn client
chantra
chantra at debuntu.org
Mon Jun 21 12:36:15 EDT 2010
John Wells <jfw <at> jfwhome.com> writes:
>
> Thank you Will and Jacco -- actually the CentOS hint was what I needed
Hi John,
Did you finally get l2tp/ipsec & android to work together?
I have a very similar case to yours, where android client can establish ipsec
connection and even get the L2TP tunnel up.
But, it get disconnected in a couple of second, or as soon as a byte goes
through the tunnel.
xl2tp/pppd will show the logs (below) when client get disconnected.
I have tried openswan 1:2.4.12+dfsg-1.3+lenny2, and 2.6.26 to no avail.
If I run L2TP on its own (without IPSec), everything is fine !!
The config I run is roughly the one from
http://www.debuntu.org/how-set-l2tp-over-ipsec-vpn-using-radius-backend
Any hints that could get me further?
Tks,
chantra
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [LCP EchoReq id=0x0 magic=0x865e3355]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.25.0.1>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01>
<addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [IPCP ConfNak id=0x1 <addr 10.25.0.2> <ms-dns1 192.168.10.24>
<ms-dns3 192.168.20.2>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [LCP EchoRep id=0x0 magic=0x2363b86e]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [CCP ConfAck id=0x1 <deflate 15> <deflate(old#) 15>
<bsd v1 15>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.25.0.1>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01>
<addr 10.25.0.2> <ms-dns1 192.168.10.24> <ms-dns3 192.168.20.2>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.25.0.2>
<ms-dns1 192.168.10.24> <ms-dns3 192.168.20.2>]
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
Script /etc/ppp/ip-up started (pid 22216)
Jun 21 20:18:33 chef-l2tp-testing pppd[22213]:
Script /etc/ppp/ip-up finished (pid 22216), status = 0x0
Jun 21 20:18:44 chef-l2tp-testing pppd[22213]:
rcvd [LCP TermReq id=0x2 "User request"]
Jun 21 20:18:44 chef-l2tp-testing pppd[22213]:
Script /etc/ppp/ip-down started (pid 22222)
Jun 21 20:18:44 chef-l2tp-testing pppd[22213]:
sent [LCP TermAck id=0x2]
Jun 21 20:18:44 chef-l2tp-testing pppd[22213]:
Script /etc/ppp/ip-down finished
(pid 22222), status = 0x0
Jun 21 20:18:47 chef-l2tp-testing pppd[22213]:
rcvd [LCP TermReq id=0x3 "User request"]
Jun 21 20:18:47 chef-l2tp-testing pppd[22213]: sent [LCP TermAck id=0x3]
Jun 21 20:18:47 chef-l2tp-testing xl2tpd[22211]:
child_handler : pppd exited for call 28507 with code 16
Jun 21 20:18:47 chef-l2tp-testing xl2tpd[22211]:
result_code_avp: avp is incorrect size. 8 < 10
Jun 21 20:18:47 chef-l2tp-testing xl2tpd[22211]:
Trustingly terminating pppd: sending TERM signal to pid 22213
Jun 21 20:18:47 chef-l2tp-testing xl2tpd[22211]:
pppd 22213 successfully terminated
More information about the Users
mailing list