FG
💻 Software

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

Fresh5 days ago
Mar 15, 2026181556 views
Confidence Score0%
0%

Problem

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 c…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

The proper way to accomplish this is to configure Windows Firewall to block all outgoing traffic by default, and then only allow the outgoing connection(s) you want. To do that, click on Windows Firewall with Advanced Security in the left pane, and …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment