For PAN-OS, create a source NAT rule that uses persistent DIPP.
For PAN-OS, follow this procedure to create a source NAT rule with persistent
DIPP.
Create an address object for the external IP address you plan to use.
Select ObjectsAddresses and Add a
Name and optional
Description for the object.
Select IP Netmask from the
Type and then enter the IP address of the
external interface on the firewall, 203.0.113.100 in this example.
Click OK.
Although you don't have to
use address objects in your policies, it is a best practice because
it simplifies administration by allowing you to make updates in one
place rather than having to update every policy where the address is
referenced.
Create the NAT policy.
Select PoliciesNAT and click Add.
On the General tab, enter a descriptive
Name for the policy.
(Optional) Enter a tag, which is a keyword or phrase that
allows you to sort or filter policies.
For NAT Type, select ipv4
(default).
On the Original Packet tab, select the zone you
created for your internal network in the Source
Zone section (click Add and then
select the zone) and the zone you created for the external network from
the Destination Zone list.
On the Translated Packet tab, for
Translation Type, select
Persistent Dynamic IP And Port.
For Address Type, there are two choices. You
could select Translated Address and then click
Add. Select the address object you created or
enter the translated source address.
An alternative Address Type is
Interface Address, in which case the
translated address will be the IP address of the interface. For this
choice, you would select an Interface and
optionally an IP Address if the interface has
more than one IP address.
Click OK.
Commit your changes.
(Optional) Use operational CLI commands to view persistent DIPP
information.
>show running persistent-dipp-client pool
<nat-pool-index>
>show running persistent-dipp-client-translation ip
<client-ip-address>
Use the last two show commands at runtime to track
persistent NAT resource usage by client IP address.
(Optional) Use configuration CLI commands to monitor persistent DIPP
pool utilization. A syslog is generated if resource utilization exceeds the
threshold you configured.