Aidan Knight Asked: 2013-04-05 19:41:48 +0800 CST2013-04-05 19:41:48 +0800 CST 2013-04-05 19:41:48 +0800 CST Open Windows Firewall to all connections from specific IP Address 772 Is it possible to "whitelist" an IP Address in the Windows Firewall and allow all connections from that specific address? windows-server-2008-r2 3 Answers Voted Best Answer Mark Henderson 2013-04-05T19:57:28+08:002013-04-05T19:57:28+08:00 Assuming the IP address you want to whitelist is 192.0.2.55: netsh advfirewall firewall add rule name="Allow from 192.0.2.55" dir=in action=allow protocol=ANY remoteip=192.0.2.55 ausip 2018-04-11T17:48:52+08:002018-04-11T17:48:52+08:00 Here is how to do it from Powershell New-NetFirewallRule -Name Allow192.0.2.55 -DisplayName 'Allow from 192.0.2.55' -Enabled True -Direction Inbound -Protocol ANY -Action Allow -Profile ANY -RemoteAddress 192.0.2.55 suraj jain 2021-02-05T06:49:04+08:002021-02-05T06:49:04+08:00 this should work like charm netsh advfirewall firewall set rule name="my rule" new remoteip=157.60.0.67
Assuming the IP address you want to whitelist is
192.0.2.55
:Here is how to do it from Powershell
this should work like charm