Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: David Trask on May 01, 2002, 08:54:32 PM

Title: How can I block port 80
Post by: David Trask on May 01, 2002, 08:54:32 PM
Here's my situation.  I have 2 e-smith boxes....one running Stephen Noble's DansGuardian Module along with Squid and another running as my router/firewall/DHCP server.  What I want to do is block access to port 80 on my router box so that the kids here in school can't simply bypass the filter by changing or disabling the proxy settings in their browser.  How can I do this....can I do it for a range or a list and can I leave certain machines (like mine) out of that block?  Any ideas?  Thanks!


David
Title: Re: How can I block port 80
Post by: Jan on May 02, 2002, 02:11:38 AM
Hi,

I think this link might help:

http://myezserver.com/downloads/mitel/howto/website-access-security-howto.html

regards,

Jan
Title: Re: How can I block port 80
Post by: Jan on May 02, 2002, 02:14:24 AM
Sorry I intended to reply to a different article.

Jan
Title: Re: How can I block port 80
Post by: JD on May 06, 2002, 06:26:01 AM
IN ...

/etc/e-smith/templates/etc/rc.d/init.d/masq

added a file ... 47DenyWWWConnects

which contains ...
{
 $OUT .= " /sbin/ipchains -I input -y -p tcp -s 0/0 --dport 80
 -j DENY\n";

}