EFW Support

Support => General Support => Topic started by: alme5 on Monday 25 June 2018, 06:21:15 pm



Title: Subdomain forwarder
Post by: alme5 on Monday 25 June 2018, 06:21:15 pm
Hello this is my scenario:

DMZ has two servers the w w w  hosted at 10.10.1.5 and mail hosted at 10.10.1.10.
I would like to be able to be forwarder to the proper server when from outside (RED) I go to w w w. domain  and mail. domain
Both servers are behind one public IP configured as RED on the endian firewall and I cannot add another IP. This is easy to do when ports are different (Port forwarding/ Destination NAT) however in my case both ports are the same on both servers (80 and 443). Is there a way to do NAT forwarding based on the requested subdomain?

I hope you will be able to understand my scenario and help me with a solution.

Br


Title: Re: Subdomain forwarder
Post by: Dark-Vex on Thursday 28 June 2018, 01:52:00 am
Hi,

you need a reverse proxy, which Endian doesn't have, if can setup a reverse proxy with nginx for example and then you should modify the DNAT/Port Forward to point to the reverse proxy system