Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

1 Static, Multiple services

Jul 25 14 5:20 am

Hello all,

I recently found WinGate and have a quick question. I'm not yet very familiar with the interface/terminology but would like to do the following:

Info: 1 Static IP which is assigned to the ASA firewall. The ASA has a static NAT rule which forwards all traffic that comes from our static IP to WinGate's external interface. We have several services (mail.domain.com, jira/confluence.domain.com, domain.com) which all have some traffic on port 80/443, etc.

Question: How do I set up WinGate to see the http information requesting mail.domain.pw to be forwarded to that server, jira/confluence.domain.com to be forwarded to the jira or confluence servers, etc? I know how to do port forwarding but am uncertain how this http filtering/stuff is set up in WinGate.

Thanks SO much for any help.

Re: 1 Static, Multiple services

Jul 25 14 11:49 am

Hi

what you need for this is a reverse proxy. WinGate's WWW proxy will do this.

1. Create a new WWW proxy to be a reverse proxy
2. Bind it to the external interface
3. In the Web Server tab you can add "sites" if you have an enterprise license, else you can edit the default. This allows you to specify how to treat a request where the client thinks WinGate is the server. If you choose "reverse proxy" you can specify which back-end server / port / SSL etc.
4. Make sure external users can't make proxy requests (bounce) off your server, since it is actually a proxy still. To do this, you can use Web Access Rules, where you specify the rule only applies to that proxy. You'll need a rule to allow access to the sites you're being a reverse proxy for, and you'll need a rule to ban everything else for that proxy. You can also use it as a forward proxy if you want (e.g. external users) but in that case we'd strongly recommend requiring authentication.

Regards

Adrien

Re: 1 Static, Multiple services

Jul 27 14 5:55 pm

Is there any way to do this without the enterprise license? This is a home project for my own infrastructure/timing/etc and I'd rather avoid spending much on it.

If not, is there a way to do this service with something like IIS 8 or ?

Thanks!
Post a reply