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

Re: [Openvpn-users] Linux: Is there a way to remove client tun interface when Internet interface is unplugged?


  • Subject: Re: [Openvpn-users] Linux: Is there a way to remove client tun interface when Internet interface is unplugged?
  • From: Les Mikesell <lesmikesell@xxxxxxxxx>
  • Date: Mon, 10 Dec 2007 16:29:36 -0600

Heather Lockridge wrote:

> 
> Is there a way to remove the client tunnel interface when the internet connection disappears, like if someone unplugs the network cable leading to the internet?
> 
> I would think as long as the openvpn client sw is running this would be bad.
> 
> So, perhaps a better way of asking this question is:   Is there a way to stop the openvpn client instance when the ethernet interface for the Internet connection goes down?

Do you really want to stop it or do you want it to reconnect when 
possible?  If the latter you can use the keepalive and persist-tun options.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

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