Single Public IP Address NAT to 2 Different DMZ IP Addresses Depending on Source IP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Single Public IP Address NAT to 2 Different DMZ IP Addresses Depending on Source IP

L0 Member

Here is the problem to be solved:

I have a single public IP address (example: 1.1.1.5) that is currently NATs to a single DMZ address (example: 192.168.1.11).

I need to create a NAT rule that will continue to send all traffic on all ports to 192.168.1.11 address unless the traffic is coming from a specific address, for instance 2.2.2.2.

In other words:

  • If traffic comes from 2.2.2.2 destined for 1.1.1.5, it will NAT to 192.168.1.12.
  • If traffic comes from any other external IP destined for 1.1.1.5, it will NAT to 192.168.1.11.

I hope that makes sense.  Is this even possible?

We have an F5 LTM and can accomplish the same end result, but would like to do it at the PA if possible.

Thanks, Jim

1 accepted solution

Accepted Solutions

L6 Presenter

just create two NAT rules(Untrust-Untrust) one with source 2.2.2.2 other with source any (destination address same 1.1.1.5)

then you can NAT(destination) each to different ip address

Don't forget security rules.

View solution in original post

2 REPLIES 2

L6 Presenter

just create two NAT rules(Untrust-Untrust) one with source 2.2.2.2 other with source any (destination address same 1.1.1.5)

then you can NAT(destination) each to different ip address

Don't forget security rules.

Thanks so much for the reply panos.  I was using source address translation and dug deeper into Destination NAT and saw exactly what you were explaining.

Anyway, I set it up and it works perfectly!

Jim

  • 1 accepted solution
  • 2836 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!