Barring connections if VPN is down.

Posted by Majid on Server Fault See other posts from Server Fault or by Majid
Published on 2011-02-08T19:15:12Z Indexed on 2011/02/08 23:27 UTC
Read the original article Hit count: 282

Filed under:
|
|

I have a VPN account and use it for sensitive communication. However the VPN connection sometimes is dropped while my main connection to the internet is still alive.

The pages I visit through VPN are on HTTP (not secure) and have javascript code which pings the host every minute or so on a timer. So it happens sometimes that the VPN connection is dropped and yet js sends a request to the server (with the cookies).

How could I restrict connections so they only happen if the VPN is live?

Edit - Some required details were missing
OS: Windows XP SP2
Browser (mostly used): Google Chrome
Firewall: Windows default
Sites to filter: not all traffic but all in a list of sites like abc.com, xyz.com

© Server Fault or respective owner

Related posts about security

Related posts about vpn