[Openswan Users] Openswan on ubuntu 12.04 - L2TP connections doesn't go through and system hangs

Nagabhushana R rnbhushana at yahoo.co.in
Mon Oct 15 09:23:22 EDT 2012


Hi,

server: Openswan 2.6.37-1 on ubuntu 12.04
Client - Mac OSx 10.7.4

I have setup the server mostly based on the configurations mentioned at http://blog.riobard.com/2010/04/30/l2tp-over-ipsec-ubuntu
and I also cross verified them against the examples given at https://www.openswan.org/projects/openswan/wiki/L2TPIPsec_configuration_using_openswan_and_xl2tpd

The IPSec connection goes through fine, but the l2tpd connection doesn't.
Logs on my Mac Client

Oct 15 16:55:41 1921681104 pppd[4626]: IPSec connection started
Oct 15 16:55:41 1921681104 racoon[4627]: Connecting.
Oct 15 16:55:41 1921681104 racoon[4627]: IPSec Phase1 started (Initiated by me).
Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).
Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 2).
Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).
Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 4).
Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase1 AUTH: success. (Initiator, Main-Mode Message 6).
Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 6).
Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase1 Initiator: success. (Initiator, Main-Mode).
Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase1 established (Initiated by me).
Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase2 started (Initiated by me).
Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Quick-Mode message 1).
Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Quick-Mode message 2).
Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Quick-Mode message 3).
Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase2 Initiator: success. (Initiator, Quick-Mode).
Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase2 established (Initiated by me).
Oct 15 16:55:42 1921681104 pppd[4626]: IPSec connection established
Oct 15 16:56:02 1921681104 pppd[4626]: L2TP cannot connect to the server

I verified that xl2tpd is running and bound to correct ports.

Any pointers to what am I missing here would be of great help.

Thanks

--
Bhushana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20121015/fb36c001/attachment.html>


More information about the Users mailing list