Solved

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

Posted on 2013-05-22
4
9,928 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

810 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