RE: [squid-users] How do I hide port 3128?

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 12 May 2005 09:15:35 -0800

> -----Original Message-----
> From: Niels [mailto:zorglub_olsen@hotmail.com]
> Sent: Thursday, May 12, 2005 9:05 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] How do I hide port 3128?
>
>
> Hi list,
>
> I'm running squid transparent. But the users can see that port 3128 is
open
> on the server. An nmap will show:
>
> 3128/tcp open squid-http
>
> I need a rule in Iptables to block that port from external inquiry, only
> Squid, on the same machine, should be able to see it. How do I do that?
>
>
> //Niels

Something like:

iptables -A INPUT -i eth0 --dport 3128 -j REJECT

(assuming that you are using eth0) should do it. If the box is acting as a
gateway, then add the same rule for each ethernet interface.

Chris
Received on Thu May 12 2005 - 11:15:36 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT