i have squid installed transparently on a fast server for a small LAN... it accelerates the LAN hosts' web surfing very nicely and saves bandwidth...
now i need to add an apache web server to the LAN, but it's a very old/slow server so
i'd like to use the squid box as a transparent proxy for the web server... the apache server will be accessed from the internet through the squid box (the squid box is also the LAN's iptables router/firewall)...
basically my questions are:
- can it be done??
- if so, how?? (i mean, is it as easy as adding a squid ACL and iptables PREROUTING/FORWARD rules much like you do for LAN clients??)
i know that squid is used as a proxy for apache web servers all the time, but i'm not sure what the implications are of having it operate in that mode
while at the same time operating in the "LAN web surfers" mode...
any light that you could shed would be greatly appreciated...