Destination NAT - Entire Subnet

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
Not applicable

Destination NAT - Entire Subnet

I have a PA-500 running PANOS v4.1.10.   Is it possible to configure a single destination NAT rule that translates the address for any given /24 subnet on to the equivalent address in the destination /24 address; e.g. Original Packet Dest: 192.168.50.X -> Translated Packet Dest 172.16.29.X

Tags (1)

Accepted Solutions
Highlighted
L4 Transporter

Hello,

The destination NAT is like static NAT, i.e. One to One translation. It looks like you're trying to do many to many, which is not possible by destination nat.

Thanks,

Aditi

View solution in original post


All Replies
Highlighted
L6 Presenter

I don't think that is possible.You have to write them seperately.

Highlighted
L4 Transporter

Hello,

The destination NAT is like static NAT, i.e. One to One translation. It looks like you're trying to do many to many, which is not possible by destination nat.

Thanks,

Aditi

View solution in original post

Highlighted
L6 Presenter

Hi...You may want to try a static source NAT rule and make it bi-directional.  Original source IP: 172.16.29.0/24 ==> Translated Packet Dest: 192.168.50.0/24 bi-directional.  I believe this will give you the dest NAT if you're willing to accept that the NAT will be bidirectional.

Thanks.

Highlighted
Not applicable

You acutally should be able to do a Destination NAT with subnets but the Original Packet Destination Subnet would need to be the exact same subnet in the Destination Translated Packet Subnet. So for example if you have the Original Packet Destination Address subnet as a /24, the translated packet Destination address would need to be a /24. This would make each address have a one to one, which is required for the Destination NAT translation.

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!