saubrey wrote:I am using IIS 5.0. And, yes, it supports multiple web servers listening to different IPs and ports, and I have bound IIS to specific IPs and ports…this seems to be working correctly.
The problem I’m running into, I think, is with WG’s ENS port redirection. ENS port redirection seems to redirect all incoming requests for a port to the same IP, regardless of the requested IP.
My deployment is as follows: WS1 is listening to 66.66.66.1:8080 and WS2 is listening to 66.66.66.2:8080. I’ve configured ENS to redirect all incoming requests from the Internet for port 80 to port 8080. ENS correctly performs the port translation of 80 to 8080, but ENS seems to not honor and not retain the incoming IP. ENS seems to redirect all incoming requests to IP 66.66.66.1. For example, an incoming request for 66.66.66.2:80 gets redirected to 66.66.66.1:8080 instead of 66.66.66.2:8080.
I have worked around this issue by re-configuring my webservers to listen on port 80, instead of 8080, and by doing so, I no longer need to use ENS’ port redirection. Even so, I’d still like to understand if I was misusing ENS’ port redirection and if so, what is the proper way to configure WG.
Are these virtual servers running on the Wingate machine?
If they are you'll have to set each virtual server to listen on the corosponding IP address and just set Wingate to allow the port.
If the web server are running on a different machine, Wingate NAT only supports one redirection using NAT, you'll have to use two separate TCP mapping services with each listing on a different IP if your Wingate machine is Win2k. If the Wingate machine is on Win2k3, you can use the router built into RRAS with NAT turned off. It's kind of tricky but it works because Wink3 allows you to set NAT on or off on a per interface setting.
You can disable NAT in Wingate and use Windows NAT but you lose the ability for Wingate to redirect non-proxy connections through the proxy for AV datastream scanning, which is the number one reason I use Wingate. It's kind of cheap to protect 6 machines from internet threats for $100 a year, you can't get that from Norton for $100 a year. Knock on wood, I've not had a single viral infection on any networked computer since they added the feature to Wingate.