[squid-users] Re: Three questions about Squid configuration

From: babajaga <augustus_meyer_at_yahoo.de>
Date: Wed, 16 Jul 2014 10:38:25 -0700 (PDT)

>there is just one network in both the client and server
side.<
>On the client side,
I just added the OUTPUT DNAT iptables rule to make it match the 3128 IP
and port of the remote server.<

Sorry, I am a bit confused.
Pls, read carefully:
#Example for squid and NAT on same machine: !!!!!!!!!!!!!!!!!!!!!!
iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination
SQUIDIP:3128

This also means, that client machine (running the browser, transparently)
and squid-machine are in the same net, and that squid then forwards the
request
to the real destination/server.

According to your posts, squid and NAT seem NOT to be on same machine.

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Three-questions-about-Squid-configuration-tp4666931p4666949.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Jul 16 2014 - 17:38:28 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 16 2014 - 12:00:18 MDT