Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I own ISP, and as an added service to my customers I would like to be able to offer a way to block most if not all of the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Block Help


    Hello,
    I own ISP, and as an added service to my customers I would like to be able to offer a way to block most if not all of the porn websites for the people that request it. Right now I am using a hosts file, the large one (20 MB) works fine on linux, but crashes on Windows(I'm assuming that windows just can't handle a larger file). Also it only works for the pc that I install the host file on. I would like to setup a server that when I add new address to block I only have to modify it. Is there a way to do this? I'm using OpenSuse 10.1 as my server. So far I've installed the hosts file on the server and set it up as an extra DNS server hoping that it would use the hosts file when someone requests a domain name, but the blocking only works for the local machine. Thank you for your time and help.

    Ryan S.
    DeltaWave

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    I would employ some type of firewall on the gateway and to readily accomplish your task, I would use Firestarter. You can block outbound requests as specified by either hostname and/or IP address. But as a general rule, this will block all outbound requests regardless of who is requesting it.

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    it sounds like you need a proxy. you could setup squid to run as a transparent proxy and you wouldn't have to modify a single thing on any of your clients machines

    http://www.faqs.org/docs/Linux-mini/...rentProxy.html
    http://www.karakas-online.de/myLinux...-proxying.html

    and http://www.google.com/search?q=squid...en-US:official

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2
    Thank you, I'll look into the transparent proxies. And see if I can't get it working on my server.

Posting Permissions

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