Setting up Squid behind NAT
Posted on 2004-09-18
Hi out there,
It's my intention to set up a squid-box to serve a subnet which is placed behind NAT, the setup looks like this :
GW / NAT x.x.x.x port 3130
WS 1 - WS n
The reason for me to place the squid box there is that I want to be able to keep an eye on which sites different ws' browses, a thing that would be somewhat difficult with the squid box on the other side of the NAT.
My problem is how to configure squid so that traffic from the workstations on ordinary ports 80 and 443 is redirected to port 3130 on the NAT.
By using squid I can reduce the load on our connection caused by this particular subnet. Only ports 80 and 443 are of interest in this particular case ;)
Any advice is appreciated !