Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11211
  • Last Modified:

configure WIN7 firewall to block a specific URL and also a specific domain.

I need to configure the WIN7 firewall to block (outbound):

1.  A specific URL
2.  A specific domain

from a PC.  

Please advise the exact steps.

Thanks.
0
nav2567
Asked:
nav2567
4 Solutions
 
kadafitcdCommented:
You won't be able to block specific URL's in Windows Firewall.  If you know the IP you can block it.  Here's a guide to setting up the Firewall.

http://www.howtogeek.com/112564/how-to-create-advanced-firewall-rules-in-the-windows-firewall/

You can use Content Advisor to block specific websites.

http://windows.microsoft.com/en-us/windows7/using-content-advisor-to-help-block-inappropriate-web-content
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
I suggest use free 3rd Party firewall software. that will block specific website and URL.
0
 
ZabagaRCommented:
The windows 7 firewall is configurable to block IP addresses and ports. What you didn't specify is what application or ports you want to block. I *think* you're asking about internet browsing outbound but I'm not sure. You *could* make a rule block all ports but that seems like overkill (i.e blocking ports 1-65534) - but workable. I'm also assuming you mean block tcp ports as opposed to udp ports. You can do both - it's just that you didn't specify.

All of this is configurable in windows 7 advanced firewall settings EXCEPT that you cannot just specify a URL or domain to block. You have to know the IP addresses for that URL and domain. You could easily perform a query to find the IP range your "specific domain" or "URL" uses...free services like centralops.net will produce an IP or IP range based on a domain or URL.

Once you have that IP information you go to firewall settings. Then advanced settings. You right click on Outbound rules and make a new rule. Make a custom rule. Block all programs. For protocol type pick TCP. For remote port enter the entire range of 1-65534. If you just wanted to block a specific app or port instead of the entire range enter that instead. Internet explorer uses port 80 and 443. Next under 'scope' enter the remote IP addresses that correspond to the URL and Domain you want to block. Under 'actions' pick block the connection. Let the rule apply to all 3 zones. Name the rule. you're done.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now