Is it possible to force PPTP VPN tunnel as the only internet connection on a windows 7 machine

pptpvpnwindows 7

I use a PPTP VPN tunnel to connect to the internet. I want the connection to cut off if there is a problem with the VPN and it drops/disconnects so there is no way to access the Internet without a working VPN.

I use the yourprivatevpn.com client (can also use manual VPN setup thru windows)

Running Windows 7 x64

Best Answer

You know, I think you could probably do this using Windows Firewall with Advanced Security. When not connected to the VPN you should have a LAN connection that should be a Home network (private profile) or a Domain network (domain profile). When connected to the VPN you should have another network connection that is a Public network (public profile). Windows Firewall with Advanced Security allows you to create different rules based on the network type (profile) that you're connected to. You could create outbound rules that disallow the appropriate traffic for the Home or Work network (LAN) but allow it for the Public network (VPN).