Port forwarding on a per-WAN-IP basis?


#1

I have 2 WANs with a total of 6 static IPs between them.

Is it possible to set up port forwarding that pays attention not only to the Port, but to the IP address as well?

Basically, I’d like to run port 80 web servers for two different IP addresses reachable on the WAN side, but have those ports forward to different machines on the LAN side.


#2

Hello,

Yes. you will add the additional public ips to each of the WANs. Once done you will define the servers (inside devices) and then go to services/port forward. You will define the port (80) and you will need to choose which public ip you want to route it too. So yes you can have 2 public ip’s over port 80 to that one inside device.



#3

But if I have two different web servers, and I want each one to answer to port 80, but from a different WAN IP address - is this possible?

e.g.

WAN : xxx.xxx.xx.100 port 80 forwards to LAN IP 10.0.1.23
WAN : xxx.xxx.xx.101 port 80 forwards to LAN IP 10.0.1.77


#4

This is no problem, just need to make 2 rules.