[Openswan Users] connection dropping.

Mitsuo Yazawa mitsuoyazawa at gmail.com
Thu Sep 6 11:03:16 EDT 2012


Hi,

  I have this connection which connects perfectly and all. but it keeps disconecting in random times. I need a way to make it stop disconnecting
  this is my setup:

  conn tunnelipsec
          #CLIENT
          left=<MyIP>
          leftsubnet=10.90.48.10/32
          #REMOTEHOST
          right=<targetIP>
          rightsubnet=10.90.0.0/16
          authby=secret
          auto=start
          compress=no
          type=tunnel
          pfs=yes
          forceencaps=yes
          #PHASE1
          keylife=28800s
          #PHASE2
          phase2=esp
          phase2alg=3des-sha1,aes128-sha1;modp1536
          ikelifetime=1800s
          rekey=yes
          rekeymargin=15m

I also added
          force_keepalive=yes
          keep_alive=10 

  to see if that helped keeping it alive (with no different result)
  For now I made my own script to detect disconnection, and restart ipsec service. which has been working but not what I want.

any help i would appreciate.

Mitsuo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20120906/586dd6df/attachment-0001.html>


More information about the Users mailing list