<div dir="ltr">Hello,<div><br></div><div>My OS is centos 5.9 and i have installed Linux strongSwan U5.0.2/K2.6.18-348.1.1.el5.</div><div>After installation,i start strongswan:</div><div>ipsec start</div><div>then i up an connection:</div>
<div>ipsec up client</div><div>then I get an error:<b> no config named 'client'</b></div><div>Actually, I define an connection in /etc/ipsec.conf. </div><div><br></div><div>Below is my /etc/ipsec.conf</div><div><br>
</div><div><div><i>config setup</i></div><div><i> strictcrlpolicy=no</i></div><div><i> charonstart=yes</i></div><div><i><br></i></div><div><i>conn %default</i></div><div><i> ikelifetime=28800s</i></div><div><i> keylife=28800s</i></div>
<div><i> rekeymargin=3m</i></div><div><i> keyingtries=3</i></div><div><i> keyexchange=ikev2</i></div><div><i> ike=3des-sha1-modp1024</i></div><div><i> esp=3des-sha1</i></div><div><i><br></i></div><div><i>conn client</i></div>
<div><i> left=12.12.1.203</i></div><div><i> leftsourceip=%config</i></div><div><i> leftcert=client1_cert.pem</i></div><div><i> leftid="/C=CN/ST=SH/O=CS/CN=IKEv2_Client1"</i></div><div><i> right=11.11.11.200</i></div>
<div><i> rightid="/C=CN/ST=SH/O=CS/CN=11.11.11.200"</i></div><div><i> rightsubnet=<a href="http://192.168.168.0/24">192.168.168.0/24</a></i></div><div><i> auto=add</i></div></div><div><i><br></i></div><div>
I have no idea what to do now, I really need your help, any one could help me?</div><div> Thank you very much</div><div><br></div></div>