<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi ,<br>&nbsp;&nbsp; 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.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks. <br><br><span style="font-family: Tahoma,Helvetica,Sans-Serif; font-style: italic; font-weight: bold;">-<span style="font-family: Times New Roman,Times,Serif;"> Simon Charles - </span></span><br><br><br><br><br><hr id="stopSpelling">Date: Tue, 21 Dec 2010 11:19:14 +0100<br>From: long@magillem.com<br>To: users@openswan.org<br>Subject: [Openswan Users] vpn connection is down regularly<br><br>

  
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">

    
  
  
    Hi :)<br>
    <br>
    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 ? <br>
    <br>
    Here is my ipsec.conf file :)<br>
    <br>
    <small># basic configuration<br>
      config setup<br>
      &nbsp;&nbsp;&nbsp; nat_traversal=yes<br>
      &nbsp;&nbsp;&nbsp; oe=off<br>
      &nbsp;&nbsp;&nbsp; protostack=netkey<br>
      &nbsp;&nbsp;&nbsp;
virtual_private=%v4:164.129.86.253/32,%v4:164.129.86.55/32,!%v4:192.168.1.0/24<br>
      &nbsp;&nbsp;&nbsp; nhelpers=0<br>
      <br>
      #vpn connection<br>
      conn host-to-host<br>
      &nbsp;&nbsp;&nbsp; forceencaps=yes<br>
      &nbsp;&nbsp;&nbsp; keyingtries=2<br>
      &nbsp;&nbsp;&nbsp; authby=secret<br>
      &nbsp;&nbsp;&nbsp; type=tunnel<br>
      &nbsp;&nbsp;&nbsp; keyexchange=ike<br>
      &nbsp;&nbsp;&nbsp; ike=3des<br>
      &nbsp;&nbsp;&nbsp; esp=3des-md5<br>
      &nbsp;&nbsp;&nbsp; pfs=no<br>
      &nbsp;&nbsp;&nbsp; left=192.168.1.200<br>
      &nbsp;&nbsp;&nbsp; leftid=@myside<br>
      &nbsp;&nbsp;&nbsp; leftsourceip=192.168.1.200<br>
      &nbsp;&nbsp;&nbsp; leftsubnet=192.168.1.200/32<br>
      &nbsp;&nbsp;&nbsp; leftnexthop=192.168.1.1<br>
      &nbsp;&nbsp;&nbsp; right=90.80.59.34<br>
      &nbsp;&nbsp;&nbsp; rightsubnets={164.129.86.253/32,164.129.86.55/32}<br>
      &nbsp;&nbsp;&nbsp; rightid=90.80.59.34<br>
      &nbsp;&nbsp;&nbsp; rightnexthop=%defaultroute<br>
      &nbsp;&nbsp;&nbsp; auto=start</small><br>
    <br>
    <br>
    <br>
  

<br>_______________________________________________
Users@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                                               </body>
</html>