Hello.
I have read ezine.daemonnews.org/200202/multiweb.html about squid and so, and I got it working with a configuration simulair to that. Except for that I dont use BINDs, Im just using /etc/hosts for resolving the names.
Its just that one issue remains a mystery, and I can't find a solution for it anywhere. Its forwarding the clients IP number.
I can see in the squid logs that internet client’s ip number is coming to squid. But after the squid it’s only the squids own IP number that being forwarding. So I can't have any statistics over the sites. And I can't block specific ip's on the web servers etc.
Is there a way to make squid forwarding the clients ip number to the web servers?
OR...
Is there another way to get this working?
The setup i have is like this:
One hardware fiewall/router, one server with linux/squid/apache and one server with IIS.
So its 2 webservers in same network behind ONE IP and changing webserver ports is not an option so that the user have to put port number after url.
The configuration I have now is that firewall/router is transfering all http traffic on port 80 to the squid on the linux server, the squid resolves the hostheader for the domain name its going to and rerouted the traffic to the right webserver.
BUT changes the IP number to SQUIDS local ip.
Is there another way without squid to resolv hostheaders and forward top the right webserver WITHOUT losing the clients IP adress?
Or how do I make SQUID to transfer the clients ip adress?
Please ask me more if you dont understand my english or question or get my setup. I would be very happy if anyone have the time to give me a hint.
I know its possible, its on linux
Thank you in advance.
Regards Sailor