How to relay traffic coming in over two public IP's to two separate local addresses

Hi Guys,

I have an RV042 Cisco router with one incoming WAN fibre connection from the ISP.

The ISP is providing 2 x public IP's.

I'd like to map each of these IP's to an internal network address 192.168.1.x
For example: to to

I've setup port forwarding and is working fine, but traffic for the same protocol will now be coming in on the two public IP's, thus port forwarding won't suffice.

I'd like to receive the incoming traffic on the two local addresses respectively.
Rupert EghardtProgrammerAsked:
Who is Participating?
Matt VCommented:
Page 51 -

Use the Setup > One-to-One NAT page to enable One-to-One NAT (Network
Address Translation). This process creates a relationship that maps a valid
external IP address to an internal IP address that is hidden by NAT. Traffic can then
be routed from the Internet to the specified internal resource.
Rupert EghardtProgrammerAuthor Commented:
Thanks Matt,

So in essence I don't need the "port forwarding" any more?
It doesn't make sense having both specified.

Which will take preference?
Matt VCommented:
I believe the port forwarding will take precedence.  This allows you to map a static NAT, then override just specific ports if required.

Make sure to implement access lists to only allow the port you want forwarded through.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Davis McCarnOwnerCommented:
The other solution which works on any router is to have different public ports for the routing you want.  Forward port 8080 on the WAN to port 80 on, for example, and have clients access http://<public-ip-2>:8080 to access.
You are trying to accomplish something your router is not designed to do. One to one NAT will take care of the translation end, but not port forwarding if you needed to use the same port number on multiple IP addresses.

I would sooner say to get a unit like a Sonicwall, which will let you do just what you are asking through its NAT policies And port forwarding. Rather than only ask for port number and local IP address, a Sonicwall also asks for public IP.
Matt VCommented:
I would disagree with masnrock, the RV042 will do what you want, Cisco just takes a different approach to it than Sonicwall.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.