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.
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.
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
Thank you, I'll look into the transparent proxies. And see if I can't get it working on my server.