PDA

View Full Version : Block Inbound & Outbound Connections Except VPN



Tracer-Bullet
11-12-2011, 04:48 AM
Hello,

I'm looking to block all inbound and outbound connections on my PC except when they're routed through a specific VPN. Ideally I'd like to be able to only allow the VPN program I'm using to connect to the internet and then everything else on my PC has to go through that. The VPN program I'm using is HMA (http://hidemyass.com/) on Windows 7 SP1.

I've heard SOCAT (http://www.dest-unreach.org/socat/) can potentially do what I'd like however I haven't been able to figure out how to use it despite reading a lengthy amount on the site. Any alternatives or even help on getting SOCAT to work would be much appreciated.

Thanks,
Tracer

Chilling_Silence
11-12-2011, 08:46 AM
A firewall will do just what you want :)

Tracer-Bullet
11-12-2011, 10:32 AM
A firewall will do just what you want :)

Any particular firewall you'd recommend? I've tried blocking all programs with the Windows firewall however that also blocks the VPN program despite creating an inbound and outbound exception for it.

Chilling_Silence
11-12-2011, 03:58 PM
No just the standard windows 7 one should suffice if setup correctly :)