Results 1 to 4 of 4
i want to block some websites....I am using ubuntu 8.04..Pls say me the way......
- 07-04-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 41
block website in ubuntu..
i want to block some websites....I am using ubuntu 8.04..Pls say me the way...
- 07-04-2009 #2
Same thread is already available on forums ( Search before you post)
If something like iptables freak you out.
Try firestarter
You can install it using synaptic
- 07-04-2009 #3
If you only want to block a handful of sites (I assume
you mean you want to prevent your PC from contacting
these sites) Here's a quick and sloppy method.
Open the file /etc/hosts and add a line for each
site in this format.
Let evilsite be the exact hostname of the evil site,Code:127.0.0.1 evilsite
like whatever dot com or www dot whatever dot com
If you want to block more than a few sites, you could consider
black hole dns where you run your own name server
that prevents the names from resolving to those sites
you want to block.
Malware Prevention through black-hole DNS
- 07-10-2009 #4Linux Newbie
- Join Date
- Aug 2006
- Location
- england
- Posts
- 138
a comprehensive hosts file list of crap sites is herehttp://blocklistpro.com/download-cen...hosts.zip.html


Reply With Quote
