Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] How to determine if the source and destination address translation is correct



Article ID: KB9542 KB Last Updated: 20 Feb 2013Version: 4.0
If the VPN is up, but traffic is not passing through the tunnel, it could be related to an address translation issue. The VPN policy log will help identify if the source and destination address translation is correct.

A VPN is up, but it is not passing traffic. The policy log for the VPN can help to determine if the traffic is being translated or not.



Examining the log entries in the Policy for the VPN can help determine if the Source and/or Destination Addresses are being translated or not.  In most case, the addresses should NOT be translated.  The only time that they will be translated is when a DIP pool is configured.

To view the log entries for a policy via the WebUI, click Policies, find the outgoing policy that is associated with the failing VPN, and then click the Log icon in the Options column (for an example of the Log icon, refer to KB4219 - WebUI Policy Icons).

To check the same via the CLI, find the policy via which traffic is supposed to pass and run the following command:

Firewall-> get log traffic policy <policy id number>

The entries should look like the following image, in which the Source Address/Port and the Translated Source Address/Port should match each other and the Destination Address/Port and the Translated Destination Address/Port should match. If they do not match, check if Source and/or Destination NAT are enabled. To view this, click Policies, edit the VPNs policy, and click Advanced; Source and Destination NAT should not be enabled.

src dst log

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search