cancel
Showing results for 
Search instead for 
Did you mean: 

Publish same port

CK1907
Member

Hi there,

 

I have got 5 static IP addresses and would like to publish 2 different web servers on the same port 443.

 

What should the port forwarding rule be like? What configuration should be done on the hub?

 

 

 

Thanks.

CK

4 REPLIES 4

markp
Grand Guru

Hi CK,

 

If you have 5 static IP's and want to use the same port number for 2 servers, what you need to do is make sure each server is assigned a different static IP from your range of 5, and as long as that is the case you can open the same port for each static IP.

 

So you would have a server on 81.168.1.25 with port 443 open and the second second server with the IP 81.168.1.26 with port 443 open.

 

This would only work if you have either a range of 5 or 13 static IP's, if you only had a single static IP you would only be able to open the port 443 to 1 device.

 

Hope this Helps

 

Markp

CK1907
Member

Hi,

 

Thanks but the question here is how would the BT hub decide to which server to send the correct HTTP request to?

 

Incoming traffic > TCP 443 > If there are two servers behind the hub to which of the server would the traffic go to?

 

This is same with port 25!!! Incoming traffic > TCP 25 > Which server would it go?

 

Thanks

 

markp
Grand Guru

Hi

 

When you setup port forwarding for a specific IP, it is the IP that the hub passes the traffic through to not the port, so if you have one server on public static IP 81.12.2.58 with port 443 open and a second server on the IP 81.12.2.59 with port 443 open, to access the server you would type in 81.12.2.58:443 to get to that server or type in 81.12.2.59:443 to get to the second server.

 

Regards

 

markp

CK1907
Member

Hi,

 

No that config will only work if you specify the server and IP Address explicitly. It will not work if you're publishing port 25.

 

Thanks