Page 1 of 1

How Do Your Protect Against A VPN Drop?

Posted: Wed Jul 20, 2011 7:12 am
by DasFox
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

Re: How Do Your Protect Against A VPN Drop?

Posted: Wed Jul 20, 2011 1:27 pm
by rwolfe
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?

Re: How Do Your Protect Against A VPN Drop?

Posted: Thu Jul 28, 2011 1:12 pm
by Bebop
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.