How Do Your Protect Against A VPN Drop?

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
DasFox
OpenVPN User
Posts: 42
Joined: Sat Dec 04, 2010 4:16 am

How Do Your Protect Against A VPN Drop?

Post by DasFox » Wed Jul 20, 2011 7:12 am

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

rwolfe
OpenVpn Newbie
Posts: 3
Joined: Wed Jul 20, 2011 1:20 pm

Re: How Do Your Protect Against A VPN Drop?

Post by rwolfe » Wed Jul 20, 2011 1:27 pm

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
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?

User avatar
Bebop
Forum Team
Posts: 301
Joined: Wed Dec 15, 2010 9:24 pm

Re: How Do Your Protect Against A VPN Drop?

Post by Bebop » Thu Jul 28, 2011 1:12 pm

DasFox wrote:In Linux, if the VPN drops how can I keep all my internet activity offline until I connect back to the VPN?
Linux, iptables. This may be useful to you.
The cure for boredom is curiosity

Post Reply