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

Announcements

ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

Reply
Highlighted
L0 Member

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

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

Tags (1)

Accepted Solutions
Highlighted
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


All Replies
Highlighted
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

Highlighted
L0 Member

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

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 Live Community as a whole!

The Live Community thanks you for your participation!