[Openswan Users] How get ipsec error code on script

Patrick Naubert patrickn at xelerance.com
Thu Dec 12 11:28:34 UTC 2013


Rescued from the Spam bucket.  Please remember to subscribe to the mailing list before posting to it.

From: 林聖艦 <mlsaint1214 at gmail.com>
Subject: How get ipsec error code on script
Date: December 12, 2013 at 3:42:41 AM EST
To: users at lists.openswan.org


Hi,

I am using this script to connect a L2TP/IPsec server:

https://wiki.archlinux.org/index.php/L2TP/IPsec_VPN_client_setup#A_further_script

Sometimes the IPsec connection was not setting up rightly after this command:

/usr/sbin/ipsec auto --up L2TP-PSK

and it would become pure L2TP connection.

How can I know the IPsec connection status to avoid pure L2TP connection?

Thanks,
Kenneth



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20131212/595ab72c/attachment.html>


More information about the Users mailing list