On Thu, 2003-02-27 at 20:49, LAST FIRST wrote:
> edit /etc/host.deny
> add the websites name there.
> Regards
> eulerkhc
> 
> --- Jim Vellenga <[EMAIL PROTECTED]> wrote:
> >Greetings,
> >
> >I am currently running on RH8.0 and my internet gateway for my home 
> >network.  I want to block access to specific web sites and was wondering 
> >what would be the best way to do that?
> >
> >Jim
> >
> >

Correct me if I'm wrong on this one, but the tcp_wrappers
/etc/hosts.allow and /etc/hosts.deny are for _incoming_ daemon
connections that are compiled against tcp_wrappers.

Want to block access to some sites?  Use Squid.  It's included on the
Red Hat v8 cdroms.

Edit the /etc/squid/squid.conf file and you can block access like this:

acl     blockedsites    dstdomain       .microsoft.com
acl     blockedsites    dstdomain       .hotmail.com

http_access     deny    blockedsites

These lines have to be in certain sections on the configuration file,
order does matter.

-- 
Caleb Groom <[EMAIL PROTECTED]>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to