[strongSwan] [Strongswan] no config named 'client'

amysue.z at gmail.com amysue.z at gmail.com
Mon Aug 18 14:56:49 CEST 2014


My OS is centos 5.9 and i have installed Linux strongSwan
After installation,i start strongswan:
ipsec start
then i up an connection:
ipsec up client
then I get an error:* no config named 'client'*
Actually, I define an connection in /etc/ipsec.conf.

Below is my /etc/ipsec.conf

*config setup*
*    strictcrlpolicy=no*
*    charonstart=yes*

*conn %default*
*    ikelifetime=28800s*
*    keylife=28800s*
*    rekeymargin=3m*
*    keyingtries=3*
*    keyexchange=ikev2*
*    ike=3des-sha1-modp1024*
*    esp=3des-sha1*

*conn client*
*    left=*
*    leftsourceip=%config*
*    leftcert=client1_cert.pem*
*    leftid="/C=CN/ST=SH/O=CS/CN=IKEv2_Client1"*
*    right=*
*    rightid="/C=CN/ST=SH/O=CS/CN="*
*    rightsubnet= <>*
*    auto=add*

I have no idea what to do now, I really need your help, any one could help
 Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20140818/3ef406d6/attachment.html>

More information about the Users mailing list