by adrien » Aug 25 08 2:13 pm
Hi
I'm not sure what benefit you get from running WinGate as a reverse proxy in front of IIS on the same machine. Except maybe for being able to lock down IPs and times of day etc.
But anyway, since in reverse proxy operation, it's WinGate that makes the connection to the server, then the connection comes from WinGate's IP.
You can get WinGate to insert a X-Forwarded-For header with the real client IP if you enable "Add X-Forwarded-For header" on the Connection tab of the WWW proxy. However then scripts running on IIS will need to check this header to get the real client IP. Also in this case for LAN users surfing out through this proxy, their internal IPs will be published - you could avoid this by using a different WWW proxy (bound to different adapters - e.g internal vs external) for internal users.
Regards
Adrien