Then specify the rule name and save it.Īfter that Windows Defender Firewall will block all outgoing connections to the specified website’s IP addresses. Leave all options as they are in the window with Firewall profiles the rule is applied to. In the next window, enter the IP addresses, subnets or a range of IP addresses you want to block.Ĭlick OK -> Next -> Action -> Block the connection. Scope: In the “Which remote IP addresses does this rule apply to?” section select “These IP addresses” -> Add.In the Outbound Rules section, create a new rule with the following settings: Run the Windows Defender Firewall management snap-in (Control Panel\All Control Panel Items\Windows Defender Firewall\Advanced Settings or by running firewall.cpl). It is easier to do it using the nslookup command:Īs you can see, the command has returned several IP addresses assigned to the website. Windows Defender Firewall allows you to specify only an IP address or a subnet as a source/destination.įirst of all, you have to get the IP address of the website you want to block. The main disadvantage of this method is that you won’t be able to use the name of a domain or a website URL in the blocking rule. How to Block Website IP Address in Windows Defender Firewall?Īlso, you can block some websites using the built-in Windows Defender Firewall.
0 Comments
Leave a Reply. |