Technical Discussion
  >> Home Networking, Internet Connection Sharing, etc.


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
  Print Thread
Standard User deleted
(deleted) Tue 23-Sep-08 22:20:00
Print Post

Blocking specific websites from home address


[link to this post]
 
Is there a way of adding several forums (hosted on the same server) from being accessed from my internet connection at home ??

Could I add them to some form of blocked hosts files ??

Or would I have to get the server address blocked or the website names specifically ??
Standard User deleted
(deleted) Tue 23-Sep-08 23:19:24
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
You could add the sites to c:\windows\system32\drivers\etc\hosts

For example, to block this site you would add the line -

127.0.0.1 bbs.adslguide.org.uk

an example of how to use the hosts file

Standard User deleted
(deleted) Wed 24-Sep-08 08:21:29
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
If you have a router that may also offer a blocking facility.


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Wed 24-Sep-08 10:20:56
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
Thanks folks - a mate doing me a file to add the particular sites to a hosts file or someat so I can do it on 3x XP machines easily

I use a BThomehub2 and NIS but cant work out to do it that way
Standard User deleted
(deleted) Wed 24-Sep-08 12:49:16
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
If you want to have some fun, look up the IPs of some other websites and use those in the hosts file, rather than just the loopback address,

eg bbc.co.uk = 212.58.224.131

so add this to the hosts file

212.58.224.131 <the dodgy site's name>

Then sit back and see how long it takes for them to ask what's going on...
Standard User deleted
(deleted) Wed 24-Sep-08 13:17:02
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
THe code a mates done has worked on the two named websites but how do I find the specific server to block ??

I know this person hosts several other forums/sites - the 2 causing issues are now blocked but wouldnt it be better to block her server ??
Standard User Sandgrounder
(knowledge is power) Wed 24-Sep-08 15:47:29
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
In a CMD window, type PING <servername> and it will return the server IP address (and then test access to it)

Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User deleted
(deleted) Wed 24-Sep-08 20:52:25
Print Post

Re: Blocking specific websites from home address


[re: Sandgrounder] [link to this post]
 
Suoer duper - got it - do I add the server to the host file or somewhere else
Standard User Sandgrounder
(knowledge is power) Thu 25-Sep-08 09:08:44
Print Post

Re: Blocking specific websites from home address


[re: deleted] [link to this post]
 
If you want to block access to the server, using its IP address, then you can not use the hosts file.

The idea of using the hosts file is that it returns a false IP address. But, if the user already has the IP address ........

You will have to set up a firewall rule somewhere - probably in the router.


Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User deleted
(deleted) Thu 25-Sep-08 10:09:36
Print Post

Re: Blocking specific websites from home address


[re: Sandgrounder] [link to this post]
 
So far the "hosts file fix" a friend on another forum made me (it installed it directly for me as couldnt find the bl**ding folder myself) has done what I need for now

It stopping those sites being accessed from this house (per pc/lappie) and casuing issues

Simple fis to some I guess but my brain wouldnt handle it just out of hossie and on 2 lots of strong painkillers
  Print Thread

Jump to