This article will assist you in Destination NAT (Network Address Translation) troubleshooting in a step-by-step approach.
For assistance with troubleshooting Source NAT or Static NAT, refer to KB21922 - Resolution Guides and Articles - SRX - NAT [juniper.net] .
Symptoms:
Perform the following steps:
Note: For the flowchart version of these steps, click the flowchart icon:
Confirm the configuration by running the edit mode command: show security nat destination
show security nat destination
Refer to KB15758 - SRX Getting Started - Configure NAT (Network Address Translation) [juniper.net] for NAT configuration examples.
Does the NAT configuration appear correct?
Is the Destination NAT configuration using the external interface IP address?
Is the destination IP address (configured for Destination NAT) in the same subnet as the external interface IP address? (For example, if the Destination NAT address is 1.1.1.2, and the SRX external IP address is 1.1.1.1/24, then the Destination NAT IP adddress is on the same subnet ast the SRX external IP address.)
Run the configuration command: show security nat proxy-arp
show security nat proxy-arp
Is Proxy ARP configured for the Destination NAT IP address? For more information on Proxy ARP and how to configure it, go to KB21785 - [SRX] When and how to configure Proxy ARP [juniper.net] .
Check if the NAT rule is being hit by viewing the Translation Hits for a particular rule. Run the command: show security nat destination rule <rulename> /all (For more information, refer to KB21886 - Verify Destination NAT rules are in order and working correctly [juniper.net] .)
show security nat destination rule <rulename> /all
Does the Translation hits increase?
Using Firewall Filters, check if the traffic from the client to the Destination NAT IP address is reaching the SRX (external interface). For an example of how to setup Firewall Filters to count the ingress packets, go to KB21872 - [SRX] Example Firewall Filter used to count the number of incoming packets [juniper.net] .
Do you see the filter packet counters increase?
Setup Traceoptions and configure Packet Filters for the Source IP address (the client) and Destination IP address (the Destination NAT IP address). For more information on how to setup traceoptions, refer KB16108 - SRX Getting Started -- Configuring Traceoptions for Debugging and Trimming Output [juniper.net] .
2020-08-14: Fixed broken link.