• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

blocking a website using a firewall

I was issued a challenge in class yesterday to block google using only the advanced firewall in windows 7. After an hour of trying I gave. I made a new rule for blocking incoming and outgoing ip addresses. I used nslookup for www.google.com to find the range of addresses to block, and entered the range from lowest to highest for each. That did not work so then again I tried nslookup without the www and got a different range. It still did not work. I even flushed my dsn cache thinking that might be the issue but it didn't help. Those steps took 10 minutes I spent the rest of the time searching google and found no usable help.

Please save me from my own insanity! I have no other ideas.
 
Those ARE the ways. Other than blocking specific IP addresses (in this case, blocking all of the Google IPs), you can't do it with the built in Windows firewall.
 
Those ARE the ways. Other than blocking specific IP addresses (in this case, blocking all of the Google IPs), you can't do it with the built in Windows firewall.

I was one of the few in class that couldn't figure out how to block it with the firewall. The only thing I can think of is my range wasn't wide enough.
 
What IP range did you specify?
You need to retrieve ALL ranges.
See this:
https://support.google.com/a/answer/60764?hl=en

Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
_netblocks.google.com text =

"v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:7
2.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.
0.0/20 ip4:207.126.144.0/20 ip4:173.194.0.0/16 ~all"
 
What IP range did you specify?
You need to retrieve ALL ranges.
See this:
https://support.google.com/a/answer/60764?hl=en

Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
_netblocks.google.com text =

"v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:7
2.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.
0.0/20 ip4:207.126.144.0/20 ip4:173.194.0.0/16 ~all"

yep this is it. I just didn't do the public part.
 
So if anyone is interested you go to the advanced firewall. Go to the outgoing exceptions select custom chose scope and go to the enter range of the remote connections. open command prompt and run ns lookup www.google.com and it gave me a range of 74.125.225.(14-20) enter those ranges in the scope and set the name of the exception and then it looks like the site is down. Nice trick to play on friends and can be used for any site depending on what you want to block.
 
So if anyone is interested you go to the advanced firewall. Go to the outgoing exceptions select custom chose scope and go to the enter range of the remote connections. open command prompt and run ns lookup www.google.com and it gave me a range of 74.125.225.(14-20) enter those ranges in the scope and set the name of the exception and then it looks like the site is down. Nice trick to play on friends and can be used for any site depending on what you want to block.

Why are you blocking by IP rather than domain? Just for fun?
 
Why are you blocking by IP rather than domain? Just for fun?

The instructor just wanted to give us a challenge. It's much easier to block it in the trusted site sections. It was just to see if we could figure it out. Which I entered the information in the wrong place and thats why it didn't work.
 
Back
Top