Find the answer to your Linux question:
Results 1 to 4 of 4
i want to block some websites....I am using ubuntu 8.04..Pls say me the way......
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41

    Thumbs up block website in ubuntu..



    i want to block some websites....I am using ubuntu 8.04..Pls say me the way...

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    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
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,090
    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.

    Code:
    127.0.0.1       evilsite
    Let evilsite be the exact hostname of the evil site,
    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

  4. #4
    Linux 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •