Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-05-22
4
Medium Priority
?
10,708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 24

Accepted Solution

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

Assisted Solution

by:kadafitcd
kadafitcd earned 375 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 375 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 375 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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