Block all in/out traffic except to a single IP in Windows Defender Firewall

  • Thread starter Zaheer Ahmed (info)
  • Start date
Z

Zaheer Ahmed (info)

I have a Private workgroup network with Internet enabled. On one of my PC running Windows 10 Pro 64 bit, I want to block all incoming and outgoing connections both LAN/Internet except to a single PC.
PC-1 has IP address 192.168.1.100

PC-2 has IP address 192.168.1.50

I want to block all traffic on PC-1 except it can send/receive files to PC-2


What I tried so far is; in windows firewall I made 2 rules in Inbound and Outbound connections. The first rule allows all traffic to 192.168.1.50 and the second rule Block all traffic. But this setting is not working, because (while searching) I found that block rule takes precedence over allow rule.


Can anyone help how to setup the rules to achieve the desired behavior.

Continue reading...
 
Back
Top Bottom