Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: Block Help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Block Help

    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.

  2. #2
    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
    North Carolina
    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


  4. $spacer_open
  5. #4
    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