Search squid archive

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

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

 



On Thu, 12 May 2005, Chris Robertson wrote:

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?

Something like:

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

Good except that it for practical reasons need to go into the nat table just before the REDIRECT rule..


iptables -t nat -I PREROUTING -i eth0 --dport 3128 -j DROP

Regards
Henrik

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

  Powered by Linux