Search squid archive

Re: Three questions about Squid configuration

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

 



>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.




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

  Powered by Linux