<div dir="ltr"><pre><font><span style="font-family:courier new,monospace">Hi All,
I am using strongswan 5.0.2. When I am connecting two users using ipsec it is establishing the connection fine.<br>When I am doing "ipsec stop" from one user withing 1-2 minutes, it is disconnecting from both sides properly<br>
but when I am doing "ipsec stop" after 5-6 minutes from one user, then the other side still shows established<br>connection, and then the pc even stops to ping each other.<br>
<br>I think there should be proper handshaking before "ipsec stop". <br><br>May be I am missing some configuration. Has anybody faced this issue before??<br>
<br>Below is my configuration.<br></span><br><span style="font-family:courier new,monospace">config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn host-host
left=192.168.0.1
leftcert=moonCert.pem
leftid=@<a href="http://moon.strongswan.org" target="_blank">moon.<span class="il">strongswan</span>.org</a>
leftfirewall=yes
right=192.168.0.2
rightid=@<a href="http://sun.strongswan.org" target="_blank">sun.<span class="il">strongswan</span>.org</a>
auto=add<br><br>Regards,<br>Rashid<br></span></font></pre></div>