Bhushana -<div><br></div><div>Please post your xl2tpd.conf (or the config file for whatever L2TP implementation you use) and your ipsec.conf. </div><div><br></div><div>KP<br><br><div class="gmail_quote">On Mon, Oct 15, 2012 at 8:23 AM, Nagabhushana R <span dir="ltr"><<a href="mailto:rnbhushana@yahoo.co.in" target="_blank">rnbhushana@yahoo.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">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 <a href="http://blog.riobard.com/2010/04/30/l2tp-over-ipsec-ubuntu" target="_blank">http://blog.riobard.com/2010/04/30/l2tp-over-ipsec-ubuntu</a><br>
and I also cross verified them against the examples given at <a href="https://www.openswan.org/projects/openswan/wiki/L2TPIPsec_configuration_using_openswan_and_xl2tpd" target="_blank">https://www.openswan.org/projects/openswan/wiki/L2TPIPsec_configuration_using_openswan_and_xl2tpd</a><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></div><br>_______________________________________________<br>
<a href="mailto:Users@lists.openswan.org">Users@lists.openswan.org</a><br>
<a href="https://lists.openswan.org/mailman/listinfo/users" target="_blank">https://lists.openswan.org/mailman/listinfo/users</a><br>
Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" target="_blank">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br>
Building and Integrating Virtual Private Networks with Openswan:<br>
<a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span>-</span></div><span>Kit</span> <span>Peters</span> (W0KEH), Engineer II<br>
KMOS TV Channel 6 / KTBG 90.9 FM<br>
University of Central Missouri<br>
<a href="http://kmos.org/" target="_blank">http://kmos.org/</a> | <a href="http://ktbg.fm/" target="_blank">http://ktbg.fm/</a><br>
</div>