[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Determine status of a tunnel


  • Subject: Re: [Openvpn-users] Determine status of a tunnel
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 2 Jun 2005 13:10:30 -0600 (MDT)


On Thu, 2 Jun 2005, Simon Perreault wrote:

> On Thursday 02 June 2005 03:12, Johannes Schmid wrote:
> > It looks like the tun interface is always "up" no matter what
> > state the VPN connection is in.
> 
> In what state other than up could the VPN connection be when the interface is 
> UP? I use the interface state for determining the VPN connection state. 
> Shouldn't I?

Most people prefer to have the TUN/TAP interface stay up even during short 
network outages, so that application-level TCP connections running over 
the tunnel are not dropped.  This is controlled by the "persist-tun" 
config file flag.  If you don't use this flag, then the interface will be 
brought down on network outages which are longer than the 
keepalive (or ping/ping-restart) interval.

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users