|
|
--- Heather Lockridge <heathlock_1997@xxxxxxxxx> wrote: > Hi all, > > 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. > Perhaps a 5 minute cron job that checks whether it can connect/ping to a host (or a few hosts) only reachable when the vpn is up. If it can not reach those hosts, it assumes there is no vpn connectivity, kills the openvpn process and thus kills the interface. ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users |