Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Niels [mailto:zorglub_olsen@xxxxxxxxxxx]
> Sent: Thursday, May 12, 2005 9:05 AM
> To: squid-users@xxxxxxxxxxxxxxx
> 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux