<div dir="ltr"><div> I am trying to bring multiple clients up using ipsec.conf from a single machine. I can bring upto 50 connections up specifying a new connection in (conn) section of </div><div> ipsec.conf on the client. everything works fine until I try load test on these IP's. After a fixed number of packets I get an error "No Buffer space available". </div><div> </div><div> I changed the sysctl settings to allot more buffer space for reading and writing of tcp, but nothing works. During this time the management interface has no issues. </div><div> Seems like the 50 tunnels I created max out on memory etc. I have to wait for about 10 minutes and the connections</div><div> are back to normal or restart ipsec. Can you please advise what can be done? </div><div> </div><div>  Sample Config on the client</div><div>#Default for all the client connections</div><div>conn %default</div><div>  Â  Â  Â  ikelifetime=60m</div><div>  Â  Â  Â  keylife=20m</div><div>  Â  Â  Â  rekeymargin=2m</div><div>  Â  Â  Â  keyingtries=1</div><div>  Â  Â  Â  keyexchange=ikev1</div><div><br></div><div><br></div><div>  Â  Â  Â  left=10.101.248.153</div><div>  Â  Â  Â  leftsourceip=%config</div><div>  Â  Â  Â  leftauth=pubkey</div><div>  Â  Â  Â  leftauth2=xauth</div><div>  Â  Â  Â  leftfirewall=yes</div><div>  Â  Â  Â  right=10.101.248.152</div><div>  Â  Â  Â  rightid="C=CH, O=strongSwan, CN=<a href="http://vpntest.x.com">vpntest.x.com</a>"</div><div>  Â  Â  Â  rightsubnet=<a href="http://0.0.0.0/0">0.0.0.0/0</a></div><div>  Â  Â  Â  rightauth=pubkey</div><div><span class="" style="white-space:pre">             </span></div><div>conn P2UJjggrNxA8Vcx_119a1d</div><div>  Â leftcert=P2UJjggrNxA8Vcx_119a1dCert.pem</div><div>  Â leftid="C=CH, O=strongSwan, CN=P2UJjggrNxA8Vcx_119a1d"</div><div>  Â xauth_identity=P2UJjggrNxA8Vcx_119a1d</div><div>  Â auto=add</div><div><br></div><div>conn P2UJjhgrNxA8Vcx_119a1d</div><div>  Â leftcert=P2UJjhgrNxA8Vcx_119a1dCert.pem</div><div>  Â leftid="C=CH, O=strongSwan, CN=P2UJjhgrNxA8Vcx_119a1d"</div><div>  Â xauth_identity=P2UJjhgrNxA8Vcx_119a1d</div><div>  Â auto=add</div><div><br></div><div>thanks,</div><div><br></div><div>M</div></div>