Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 24 November 2024, 07:50:48 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Subdomain forwarder
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Subdomain forwarder  (Read 12227 times)
alme5
Jr. Member
*
Offline Offline

Posts: 1


« 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
Logged
Dark-Vex
Sr. Member
****
Offline Offline

Posts: 105


« Reply #1 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
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com