Thursday, September 3, 2015

How to block all traffic but one IP in Windows Firewall?

I'm trying to use Windows 7 firewall to block all outgoing and incoming traffic, from all IP's and for all protocals, except for UDP to and from one particular IP address.


The reason why is because I am using a VPN over UDP, and so no other traffic is necessary so I'd like to shut it all down.


My configuration blocks all outgoing traffic, but also it blocks traffic going out to the IP I want to be able to access. I can't for example ping the allowed IP address (notice I have it set as any protocol allowed, so ping should work). I get 'General Failure' when I try to ping it.


I figured having the allow rule at the top of the list would make it work but it doesn't. Am I missing something here?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...