SLUG Mailing List Archives
[SLUG] blocking port 80 on firewall.
- To: slug <slug@xxxxxxxxxxx>
- Subject: [SLUG] blocking port 80 on firewall.
- From: Ken Foskey <foskey@xxxxxxxxxxxxxxxx>
- Date: Sun, 02 May 2004 17:56:08 +1000
On Sun, 2004-05-02 at 17:08, Ken Foskey wrote:
> > And.... How do I block port 80 on eth1 using ipmasq (ipchains) under
> > debian.
> All I need to do now is figure out how to ensure the proxy is used.
Turns out that I am using iptables (K 2.4.26) I think this command
should do the drop that I want.
iptables -A INPUT -j DROP -p tcp -d 0/0 --destination-port www
Is this right, will is stop squid going out?
Where do I put this in the startup to make it work?