In Linux, if the VPN drops how can I keep all my internet activity offline until I connect back to the VPN?
When then VPN drops I don't want to be able to get back on until I'm reconnected to the VPN.
My understanding is I need to have my route deleted then when reconnecting added again, would that be correct, or something like this and do this either in the client.conf or have a script run that does something like this...
THANKS
How Do Your Protect Against A VPN Drop?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 42
- Joined: Sat Dec 04, 2010 4:16 am
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jul 20, 2011 1:20 pm
Re: How Do Your Protect Against A VPN Drop?
I am curious, how are you connecting to the VPN is you want all your Internet connectivity offline until you connect back to the VPN?DasFox wrote:In Linux, if the VPN drops how can I keep all my internet activity offline until I connect back to the VPN?
When then VPN drops I don't want to be able to get back on until I'm reconnected to the VPN.
My understanding is I need to have my route deleted then when reconnecting added again, would that be correct, or something like this and do this either in the client.conf or have a script run that does something like this...
THANKS
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: How Do Your Protect Against A VPN Drop?
Linux, iptables. This may be useful to you.DasFox wrote:In Linux, if the VPN drops how can I keep all my internet activity offline until I connect back to the VPN?
The cure for boredom is curiosity