We want to allow an internal server to offer a web-service through the WinGate firewall. If I set up a WinGate TCP-mapping service that accepts connections and maps them to the server, everything works fine.
However, for security reasons, the server needs to verify the user's IP address. The mapping service all external addresses with that of the firewall, so the server cannot see the real IP address of a client. There appears to be no option in the proxy setup to pass on the real address.
I then tried setting up a redirection using ENS - accept TCP connections and forward them to the specific machine. Unfortunately, I can't get a connection. The server gets a request, but when it tries to send an answer, I get the error "Connection reset by peer". Meanwhile, the client times out.
I am running WinGate 6.0.3 (using a Wingate 4 license). Any suggestions?