Juniper SRX Nat support has been added in version 3.2.2 for the first time. This Document describes the limitations of this new functionality.
The Configuration needs to be in XML format as usual in SRX migrations using the Migration Tool.
The command to generate the configuration in XML format is :
show configuration | display xml | no-more
Sanity Check: Once we have captured the output from the previous command ensure that the information saved on the file starts with the tag <configuration> and ends with </configuration>. Whatever tag before or after those must be removed.
Nat types Supported:
Source Translation: The pools are read but we are capturing only the IP-address (or range). commands like (in set commands to show only as example, we need the configuration in XML format)
set pool src-nat-pool-2 port no-translation
set pool src-nat-pool-2 overflow-pool interface
set pool src-nat-pool-2 port range 5000 to 6000
The Source nat rules will be translated as "dynamic-ip-and-port" in Palo Alto Networks. We will translate the sources with the pools previously defined or if the interface was used for that purpose. In the case to use the Interface the tool will assign the IP-address from the interface used.
Destination Translation: The MT will read the pools with the IP-address and ports. Those will be applied in the destination translation rules.
Static Translations: The MT will use the address (prefix) used in the static rule as a Source address in the Palo Alto Networks Nat Rule and the Destination will be used for the static address. We will active the bidirectional flag.
Fixes in the Security Rules: The MT will replace the objects in the security policy to match the address before the Nat is applied what is Palo Alto Networks firewall expects to find and then for all the Destination Translation or Static it will keep the zone for the post nat address. The limitation is the tool will replace object by object if a network is used in the security policy the tool will not fix those rules with the right pre-nat ip addresses.