cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
0
Helpful
1
Replies

How to configure one public IP to 2 web, work for LAN & WAN?

rexxma
Level 1
Level 1

one public ip with 2 web sites hosted on 2 different VM server. How to configure on RV340 router? Thanks!

1 Accepted Solution

Accepted Solutions

Luis Gradyz
Cisco Employee
Cisco Employee

Hi rexxma,

 

You can configure the RV340 to forward port 80 (http) and 443 (https) to any of the servers, but since you only have one public IP you will not be able to create two forwarding rules with the same port at the same time.

 

The only workaround would be to create a PAT (port address translation) rule where you would forward port 80 internally but the external port is different, (i.e., www.example.com:1234 externally and 192.168.1.100:80 internally). The problem with this approach is that your external clients have to explicitly include the external port in the URL for the connection to work properly.

 

If you would like to have both servers using the same port at the same time you will have to buy another public IP from your provider and then configure Static NAT.

 

View solution in original post

1 Reply 1

Luis Gradyz
Cisco Employee
Cisco Employee

Hi rexxma,

 

You can configure the RV340 to forward port 80 (http) and 443 (https) to any of the servers, but since you only have one public IP you will not be able to create two forwarding rules with the same port at the same time.

 

The only workaround would be to create a PAT (port address translation) rule where you would forward port 80 internally but the external port is different, (i.e., www.example.com:1234 externally and 192.168.1.100:80 internally). The problem with this approach is that your external clients have to explicitly include the external port in the URL for the connection to work properly.

 

If you would like to have both servers using the same port at the same time you will have to buy another public IP from your provider and then configure Static NAT.