Support Support Downloads Knowledge Base Service Request Manager My Juniper 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 Troubleshoot a VPN Tunnel that won't come up

0

0

Article ID: KB9221 KB Last Updated: 04 Jul 2019Version: 16.0
Summary:

This article will help determine the reason why a VPN won't become active and establish a Tunnel between two VPN devices. Follow the steps until the problem is resolved or a case needs to be opened with JTAC (Juniper Technical Assistance Center). 

 

Symptoms:

How to troubleshoot a VPN that won't come up?

Scenarios:

  • A new LAN-to-LAN VPN tunnel between two NetScreen firewalls is not working

  • A new LAN-to-LAN VPN tunnel between a NetScreen and an OEM VPN device is not working.

  • An existing LAN-to-LAN VPN tunnel that was working until a change was made.

  • A Dial-up VPN that won't connect

To see an overview of all VPN Resolution Guides:   Firewall VPN Configuration & Troubleshooting Resolution Guides

 

Solution:

To view the flowchart for the steps listed below, select:  KB9221 Flowchart

Use the following steps to assist with resolving a VPN Tunnel that will not come active:

Step 1.  Is this a Site-to-Site (or LAN-to-LAN) VPN?  A Site-to-Site VPN is one that is between two Juniper Firewalls or a Juniper Firewall and an OEM VPN device.  It is not a VPN between the Juniper Firewall and a client device running VPN software. 

Step 2.  Is the VPN Tunnel's SA Active? For assistance, see KB6134 - How do I tell if a VPN Tunnel SA (Security Association) is active?

Step 3.  Are there any IKE Phase 1 or 2 messages on the Responder VPN Firewall? 

Check the responder firewall for IKE Phase 1 or Phase 2 messages received from the initiating firewall.  The responder is the "receiver" side of the VPN that is being pinged, receiving the tunnel set up requests, or receiving the tunneled traffic. The initiator is the side of the VPN from which the ping or traffic is generated.  For assistance, see KB4426 - How do I Find the VPN Entry in the Event Log?
  • Yes - Jump to Step 5.
  • No   - If there are no IKE Phase 1 or 2 messages in the event logs for this tunnel, go to the other VPN device (the initiator) and determine if there are any IKE Phase 1 or 2 messages in it's event logs.  Continue with Step 4.

Step 4.  Are there any IKE Phase 1 or 2 messages in the Initiating VPN Firewall?

Step 5.  Are there any IKE Phase 2 error messages for this VPN Tunnel in the Event Logs?

Step 6. Are there any IKE Phase 1 error messages for this VPN Tunnel in the Event Logs?

Step 7. Collect Site-to-Site logs from the units at both ends of the VPN and open a case with JTAC - Juniper Technical Assistance Center. For assistance, see KB9229 - How to Collect Logs for a Failing Site-to-Site VPN and Open a New Case.

 

Modification History:

2019-07-04: Article reviewed for accuracy and validity; article found to be relevant and up-to-date

 

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

Security Alerts and Vulnerabilities

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