<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi,<br><br>server: Openswan 2.6.37-1 on ubuntu 12.04<br>Client - Mac OSx 10.7.4<br><br>I have setup the server mostly based on the configurations mentioned at http://blog.riobard.com/2010/04/30/l2tp-over-ipsec-ubuntu<br>and I also cross verified them against the examples given at https://www.openswan.org/projects/openswan/wiki/L2TPIPsec_configuration_using_openswan_and_xl2tpd<br><br>The IPSec connection goes through fine, but the l2tpd connection doesn't.<br>Logs on my Mac Client<br><br>Oct 15 16:55:41 1921681104 pppd[4626]: IPSec connection started<br>Oct 15 16:55:41 1921681104 racoon[4627]: Connecting.<br>Oct 15 16:55:41 1921681104 racoon[4627]: IPSec Phase1 started (Initiated by me).<br>Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).<br>Oct 15 16:55:41 1921681104
racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 2).<br>Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).<br>Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 4).<br>Oct 15 16:55:41 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Main-Mode message 5).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase1 AUTH: success. (Initiator, Main-Mode Message 6).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Main-Mode message 6).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase1 Initiator: success. (Initiator, Main-Mode).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase1 established (Initiated by me).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase2 started (Initiated by me).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: transmit success.
(Initiator, Quick-Mode message 1).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: receive success. (Initiator, Quick-Mode message 2).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKE Packet: transmit success. (Initiator, Quick-Mode message 3).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IKEv1 Phase2 Initiator: success. (Initiator, Quick-Mode).<br>Oct 15 16:55:42 1921681104 racoon[4627]: IPSec Phase2 established (Initiated by me).<br>Oct 15 16:55:42 1921681104 pppd[4626]: IPSec connection established<br>Oct 15 16:56:02 1921681104 pppd[4626]: L2TP cannot connect to the server<br><br>I verified that xl2tpd is running and bound to correct ports.<br><br>Any pointers to what am I missing here would be of great help.<br><br>Thanks<br><br>--<br>Bhushana<br><div><br></div></div></body></html>