Post Reply 
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
Offline
Post: #1
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?

‫‬‭‮‪‫‬‭‮‫‬‭‮‪‫‬‭[Image: Kamakazi.jpg]
Mr. Sim Pilot - One's Tale of Adventure - Coming Soon ... or whatever
Spoiler for SkyDX's gift.:
[Image: demonchildiq2.png] Thanks!
Assassinator Wrote:
demonchild Wrote:Because even pirates pirate free stuff.

Because pirates even pirate free stuff.

Important. Lol.
28/10/2008 06:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #2
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:

Code:
127.0.0.1    blockedsite.com


After that, flush your DNS cache (Start » Run » ipconfig /flushdns » Enter).

28/10/2008 07:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
roberth
Resident Full Stop Abuser.....

Posts: 4,580.2098
Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
Offline
Post: #3
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

Code:
74.14.207.99


Then, whenever they type in the site, they get redirected to google. Its hilarious to watch....


29/10/2008 02:27 AM
Find all posts by this user Quote this message in a reply
demonchild
Thinks Zinga Up To Something

Posts: 1,185.3522
Threads: 132
Joined: 23rd Mar 2008
Reputation: -4.56241
E-Pigs: 97.4501
Offline
Post: #4
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

‫‬‭‮‪‫‬‭‮‫‬‭‮‪‫‬‭[Image: Kamakazi.jpg]
Mr. Sim Pilot - One's Tale of Adventure - Coming Soon ... or whatever
Spoiler for SkyDX's gift.:
[Image: demonchildiq2.png] Thanks!
Assassinator Wrote:
demonchild Wrote:Because even pirates pirate free stuff.

Because pirates even pirate free stuff.

Important. Lol.
04/11/2008 02:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Nacos
Soon to be Moderator?

Posts: 2,004.2538
Threads: 181
Joined: 21st May 2007
Reputation: -0.41086
E-Pigs: 12.1482
Offline
Post: #5
RE: How to IP-Block Websites
no the ip stays 127.0.0.1

[Image: 17312564gf1.png]
04/11/2008 02:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
demonchild
Thinks Zinga Up To Something

Posts: 1,185.3522
Threads: 132
Joined: 23rd Mar 2008
Reputation: -4.56241
E-Pigs: 97.4501
Offline
Post: #6
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

‫‬‭‮‪‫‬‭‮‫‬‭‮‪‫‬‭[Image: Kamakazi.jpg]
Mr. Sim Pilot - One's Tale of Adventure - Coming Soon ... or whatever
Spoiler for SkyDX's gift.:
[Image: demonchildiq2.png] Thanks!
Assassinator Wrote:
demonchild Wrote:Because even pirates pirate free stuff.

Because pirates even pirate free stuff.

Important. Lol.
(This post was last modified: 18/11/2008 03:56 PM by demonchild.)
18/11/2008 03:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
roberth
Resident Full Stop Abuser.....

Posts: 4,580.2098
Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
Offline
Post: #7
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
Find all posts by this user Quote this message in a reply
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #8
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
Find all posts by this user Quote this message in a reply
Mickey
Down with MJ yo

Posts: 3,663.2843
Threads: 251
Joined: 26th Apr 2008
E-Pigs: 28.7300
Offline
Post: #9
RE: How to IP-Block Websites
[Image: banner2.gif]

[Image: MiCk3Y.jpg]

[Image: battle.png]

Spoiler for link:
18/11/2008 04:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: