Knowledge Search


How do I ensure that the AutoKey IKE Advanced Settings are correct?

  [KB9476] Show Article Properties


Route-Based VPN message "Phase 2 Error – Mismatched Proxy/Peer IDs" can be caused by settings on the Advanced page of the AutoKey IKE page.  These instructions will step you through correcting them.



  • VPN has successfully passed Phase 1, but Phase 2 fails.

Symptoms & Errors

  • Data is not passing through the VPN.
  • Incoming policy defined to allow Dial Up VPN to access internal network
  • NetScreen Remote Client does not have a gold key in taskbar window
  • Phase 2: No policy exists for the proxy ID received: local ID  (<ip_address> / <subnet_mask>,<0>, <0>) remote ID (<ip_address> / <subnet_mask>, <0>,  <0>).

If Phase 1 passes, and Phase 2 fails with a message in the event log as indicated above, it could indicate that the incoming policy does not match the settings the client is sending over, or vice versa.

  1. In the WebUI, select VPNs > AutokeyIKE. Then edit the appropriate VPN.
  2. Next, click on the Advanced button at the bottom of the screen.   This will take you to the Advanced settings screen.
  3. Ensure that the Proxy-ID field is enabled.

    proxy id chk
  4. The Local IP is the address range of the local network that the remote user is establishing the VPN tunnel. The Local IP address and the Netmask must match what is configured on the NSR client under Remote Party Identity and Addressing.  The Remote IP address represents the address of the client and it needs to be
  5. The Destination address in the policy, the Local IP and Netmask in the Autokey IKE, and the Remote Party Identity and Addressing in the Remote Client Security Policy Editor must match.  See the image below. 

    To verify that Address Book Entry in the policy is correct, see KB9501 - How to Confirm the Address Book entry is Correct.
Related Links: