One to one NAT mapping for many to many

Showing results for 
Search instead for 
Did you mean: 

One to one NAT mapping for many to many

L3 Networker

Sonicwalls have a setting that allow a /24 subnet being natted to a different /24 subnet to get mapped on a one to one basis. 


Example, will get bidirectionally natted to, will get bidirectionally natted to, etc...


The last octet will always stay the same which allows one nat rule to be added so both sides can initiate connections.  Is there a way to do this on the Palo without doing a static one to one nat for each mapping?


Cyber Elite
Cyber Elite

dynamic NAT does this also, but only for one subnet to another subnet, not for a bunch of random subnets based on the last octet only


ie: dynamic nat will translate to

Tom Piens

Is there a specific setting to enable for it to work this way? I have a vendor that needs to initiate from their side of a VPN tunnel to my side and dynamic NAT worked when we tested but only from my side to theirs. I needed to do a one to one static for them to initiate to my side successfully.

are there overlapping IP addresses?

if both sides of the tunnel do dynamic nat, this would work


if there's no overlap you'd just need a policy in each direction that applies dynamic source nat


could you sketch the environment?

Tom Piens

Here is what's happening.... (real local subnet) gets translated to when going to (destination on other side of tunnel).
This currently works but I need to find a way for to Nat to so that the last octet (.10) is always natting to the same IP (.10) on both networks for every IP address. needs to Nat to needs to Nat to needs to Nat to needs to Nat to

The last octet on both /24 subnets needs to Nat to the same number bidirectionally since both sides of the tunnel need to initiate TCP connections.

Does this make sense?
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!