How to IP-Block Websites
|
Author |
Message |
demonchild
Thinks Zinga Up To Something
Posts: 1,185.3522 Threads: 132
Joined: 23rd Mar 2008
Reputation: -4.56241
E-Pigs: 97.4501
|
How to IP-Block Websites
I need a way to ip-block websites.
The reason is simple: Just don't want my bro on certain sites, and to just be mean to him. I know that Peerguardian works but not so great as its HTTP blocking goes blocking sites left and right. Any other alternative?
|
|
28/10/2008 06:42 PM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: How to IP-Block Websites
If it's just websites, probably better to block the DNS than the IP. Simple method is to stick an entry in the hosts file (<system32 dir>\drivers\etc in Windows).
Add a line like this:
After that, flush your DNS cache (Start » Run » ipconfig /flushdns » Enter).
|
|
28/10/2008 07:40 PM |
|
roberth
Resident Full Stop Abuser.....
Posts: 4,580.2098 Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
|
RE: How to IP-Block Websites
i love doing that, i use it on my friend whos addicted to youtube...its more fun if you use
Then, whenever they type in the site, they get redirected to google. Its hilarious to watch....
|
|
29/10/2008 02:27 AM |
|
demonchild
Thinks Zinga Up To Something
Posts: 1,185.3522 Threads: 132
Joined: 23rd Mar 2008
Reputation: -4.56241
E-Pigs: 97.4501
|
RE: How to IP-Block Websites
Still doesn't work. I tried both ways. This is my hosts file.
Quote:127.0.0.1 localhost
127.0.0.1 activate.adobe.com
24.28.193.9 meebo.com
|
|
04/11/2008 02:30 PM |
|
Nacos
Soon to be Moderator?
Posts: 2,004.2538 Threads: 181
Joined: 21st May 2007
Reputation: -0.41086
E-Pigs: 12.1482
|
RE: How to IP-Block Websites
no the ip stays 127.0.0.1
|
|
04/11/2008 02:43 PM |
|
demonchild
Thinks Zinga Up To Something
Posts: 1,185.3522 Threads: 132
Joined: 23rd Mar 2008
Reputation: -4.56241
E-Pigs: 97.4501
|
RE: How to IP-Block Websites
Still doesn't work =\ What the hell am I doing wrong? I can still access the site.
Quote:# Copyright © 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 activate.adobe.com
127.0.0.1 meebo.com
(This post was last modified: 18/11/2008 03:56 PM by demonchild.)
|
|
18/11/2008 03:54 PM |
|
roberth
Resident Full Stop Abuser.....
Posts: 4,580.2098 Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
|
RE: How to IP-Block Websites
not sure if it really matters, but use a tab, not a space
|
|
18/11/2008 04:19 PM |
|
Assassinator
...
Posts: 6,646.6190 Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
|
RE: How to IP-Block Websites
You edited the right file right?
Under .../windows/system32/drivers/etc. should be the "hosts" file, without extension. Not the hosts.msn or hosts.ics or whatever.
Copy/paste these entries to it after the localhost entry.
127.0.0.1 activate.adobe.com
127.0.0.1 meebo.com
Save it as hosts (without any extension)
Oh yeah, and as zinga said, kill your DNS cache. Also kill your temporary internet cache, in case the site got stored into that.
If you did all that correctly, don't know why it wouldn't work. I do that kind of stuff all the time, to block my sister off poo poo like neopets and block random ad sites.
|
|
18/11/2008 04:22 PM |
|
Mickey
Down with MJ yo
Posts: 3,663.2843 Threads: 251
Joined: 26th Apr 2008
E-Pigs: 28.7300
|
RE: How to IP-Block Websites
|
|
18/11/2008 04:28 PM |
|
User(s) browsing this thread: 1 Guest(s)