>> On squid box, there is a utility Guarddog used for port forwarding. So
>> it forward all traffic on port 80 to Squid port 3128.
>
> I'd say your problem is here. You have port forwarded port 80 on the
> server itself to port 3128 on the server itself. Same as configuring
> Squid to listen on port 80 directly.
I think Henrik is right. Pls do not uer suc a GUI tool. pls input
iptables command by hand.
> What you need is a rule which intercepts (NAT:s)any outgoing traffic to
> port 80 on servers out on the Internet and redirect these to Squid. This
> is different from port 80 on the server itself.
Pls try below rules.
#on the squidbox, Open squidport (3218) for LAN ips
iptables -A INPUT -i eth0 -d ipofsquidbox -p tcp -s ipofLANs/24
--dport 3128 -j ACCEPT
#Redirecting traffic destined to port 80 to port 3128
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT
--to-port 3128
Hope to hear from you.
Happy squiding
-- Thank you Indunil JayasooriyaReceived on Fri Jun 06 2008 - 08:48:47 MDT
This archive was generated by hypermail 2.2.0 : Fri Jun 06 2008 - 12:00:03 MDT