Solved

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

Posted on 2013-05-22
4
10,014 Views
Last Modified: 2013-06-06
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
Comment
Question by:nav2567
4 Comments
 
LVL 24

Accepted Solution

by:
aadih earned 125 total points
ID: 39187896
0
 
LVL 12

Assisted Solution

by:kadafitcd
kadafitcd earned 125 total points
ID: 39187948
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
 
LVL 16

Assisted Solution

by:Kalpesh Chhatrala
Kalpesh Chhatrala earned 125 total points
ID: 39187965
I suggest use free 3rd Party firewall software. that will block specific website and URL.
0
 
LVL 15

Assisted Solution

by:ZabagaR
ZabagaR earned 125 total points
ID: 39187970
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question