[Openswan Users] vpn connection is down regularly

simon charles charlessimon at hotmail.com
Wed Dec 22 18:27:37 EST 2010


Hi ,
   Try DPD options - that'll keep traffic flowing through the tunnel and would help keep it up if it is going down due to lack of traffic.
           Thanks. 

- Simon Charles - 




Date: Tue, 21 Dec 2010 11:19:14 +0100
From: long at magillem.com
To: users at openswan.org
Subject: [Openswan Users] vpn connection is down regularly



  



    
  
  
    Hi :)

    

    I successfully created a vpn connection with openSwan but it seems
    that the connection close after a fiew hours. I would like this
    connection to be up 24/7. Is there an option to change in the
    configuration file to make it possible ? 

    

    Here is my ipsec.conf file :)

    

    # basic configuration

      config setup

          nat_traversal=yes

          oe=off

          protostack=netkey

         
virtual_private=%v4:164.129.86.253/32,%v4:164.129.86.55/32,!%v4:192.168.1.0/24

          nhelpers=0

      

      #vpn connection

      conn host-to-host

          forceencaps=yes

          keyingtries=2

          authby=secret

          type=tunnel

          keyexchange=ike

          ike=3des

          esp=3des-md5

          pfs=no

          left=192.168.1.200

          leftid=@myside

          leftsourceip=192.168.1.200

          leftsubnet=192.168.1.200/32

          leftnexthop=192.168.1.1

          right=90.80.59.34

          rightsubnets={164.129.86.253/32,164.129.86.55/32}

          rightid=90.80.59.34

          rightnexthop=%defaultroute

          auto=start

    

    

    

  


_______________________________________________
Users at openswan.org
http://lists.openswan.org/mailman/listinfo/users
Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
Building and Integrating Virtual Private Networks with Openswan: 
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20101222/0e8f78ce/attachment.html 


More information about the Users mailing list