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

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


Hello,

My OS is centos 5.9 and i have installed Linux strongSwan
U5.0.2/K2.6.18-348.1.1.el5.
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=12.12.1.203*
*    leftsourceip=%config*
*    leftcert=client1_cert.pem*
*    leftid="/C=CN/ST=SH/O=CS/CN=IKEv2_Client1"*
*    right=11.11.11.200*
*    rightid="/C=CN/ST=SH/O=CS/CN=11.11.11.200"*
*    rightsubnet=192.168.168.0/24 <http://192.168.168.0/24>*
*    auto=add*

I have no idea what to do now, I really need your help, any one could help
me?
 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