[strongSwan] Android as client: (IPsec) Working locally, but not remote

Markus Hoffmann markus.hoffmann at koeln.de
Tue Feb 7 18:27:52 CET 2012


Oh, I noticed that the xl2tpd.log is wrong, it shows the state of a local
connection :/

 

This is right:

 

using channel 31

Using interface ppp0

Connect: ppp0 <--> /dev/pts/1

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xf95fd3f>]

rcvd [LCP ConfReq id=0x1 <mru 1400> <asyncmap 0x0> <magic 0x439f8ce8>
<pcomp> <accomp>]

sent [LCP ConfRej id=0x1 <pcomp> <accomp>]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xf95fd3f>]

rcvd [LCP ConfReq id=0x2 <mru 1400> <asyncmap 0x0> <magic 0x439f8ce8>]

sent [LCP ConfAck id=0x2 <mru 1400> <asyncmap 0x0> <magic 0x439f8ce8>]

sent [LCP EchoReq id=0x0 magic=0xf95fd3f]

sent [CHAP Challenge id=0xc5 <...>, name = "servee"]

rcvd [LCP EchoRep id=0x0 magic=0x439f8ce8]

rcvd [CHAP Response id=0xc5 <...>, name = "markus"]

sent [CHAP Success id=0xc5 "Access granted"]

sent [IPCP ConfReq id=0x1 <addr 192.168.2.99>]

rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]

Unsupported protocol 'Compression Control Protocol' (0x80fd) received

sent [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]

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>]

sent [IPCP ConfRej id=0x1 <compress VJ 0f 01>]

rcvd [IPCP ConfAck id=0x1 <addr 192.168.2.99>]

rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2
0.0.0.0>]

sent [IPCP ConfNak id=0x2 <addr 192.168.2.100> <ms-dns1 192.168.2.1>
<ms-dns2 192.168.2.1>]

rcvd [IPCP ConfReq id=0x3 <addr 192.168.2.100> <ms-dns1 192.168.2.1>
<ms-dns2 192.168.2.1>]

sent [IPCP ConfAck id=0x3 <addr 192.168.2.100> <ms-dns1 192.168.2.1>
<ms-dns2 192.168.2.1>]

found interface eth0 for proxy arp

local  IP address 192.168.2.99

remote IP address 192.168.2.100

Script /etc/ppp/ip-up started (pid 5568)

Script /etc/ppp/ip-up finished (pid 5568), status = 0x0

rcvd [LCP TermReq id=0x3 "User request"]

LCP terminated by peer (User request)

Connect time 0.2 minutes.

Sent 0 bytes, received 177 bytes.

Script /etc/ppp/ip-down started (pid 5574)

sent [LCP TermAck id=0x3]

Script /etc/ppp/ip-down finished (pid 5574), status = 0x0

Terminating on signal 15

Modem hangup

Connection terminated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120207/4b6fc0e4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4949 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120207/4b6fc0e4/attachment.bin>


More information about the Users mailing list