EFW Support

Support => General Support => Topic started by: NOX on Wednesday 23 January 2013, 05:02:40 am



Title: Translate 2URL's (RED) on same port (80) to different IP's (GREEN)
Post by: NOX on Wednesday 23 January 2013, 05:02:40 am
Hi All

Is there a way to "publish" two internal IP's on port 80 to the outside world ?
ie.
MyDomain1:80 to 192.168.0.1:80
MyDomain2:80 to 192.168.0.2:80

I know Microsoft ISA can do this, but I'de must prefer to continue using Endian 2.5.1

Thanks in advance all.


Title: Re: Translate 2URL's (RED) on same port (80) to different IP's (GREEN)
Post by: acecombat on Sunday 27 January 2013, 11:15:04 pm
Not with 2 different IP's and nor can ISA.  You can port forward with load balancing which means you'll get a random 1 of those 2 servers, otherwise you can only port forward to a single server.
There's no way for it to work out which server you want it to go to internally from the external request.
The other thing you can look at using is a single web server running multiple sites and have it display the appropriate site based on the URL.  Methods vary with web server so you'd need to check out the web server doco on how to do it.


Title: Re: Translate 2URL's (RED) on same port (80) to different IP's (GREEN)
Post by: Gabriel GHEORGHIU on Saturday 30 May 2015, 06:10:42 pm
Hi to All,

I have the same issue.
I understand that with the new version 3.0.5, Endian acts like Forefront TMG (reverse proxy).

Does anybody know how?

Best regards,
Gabriel


Title: Re: Translate 2URL's (RED) on same port (80) to different IP's (GREEN)
Post by: mrkroket on Friday 05 June 2015, 05:23:11 am
You need an HTTP proxy. I did this on a secondary apache server.
On apache you can create virtual domains, and send each traffic to a different IP.

So in endian you have only one port forward to the internal Apache proxy server.

I don't do this on Endian, you usually have to tweak httpd config a lot.
 You can have as many domains on a single IP as you want. It has some problems, but works.