IPSec Phase 1 negotiation fails with "NO_PROPOSAL_CHOSEN" seen in System Logs - DH Group mismatch in Phase 1

IPSec Phase 1 negotiation fails with "NO_PROPOSAL_CHOSEN" seen in System Logs - DH Group mismatch in Phase 1

17174
Created On 08/02/22 18:18 PM - Last Modified 08/05/22 18:24 PM


Symptom


  • VPN Tunnel not coming up or went down
  • System Logs showing "no proposal chosen."
  • System Logs showing "<IKEGateway> unauthenticated NO_PROPOSAL_CHOSEN received, you may need to check IKE settings"
  • CLI show command outputs on the two peer firewalls showing different DH Groups (Example: DH Group 20 vs DH Group 14)
  • Packet Capture showing "NO_PROPOSAL_CHOSEN" in the IKE packets (UDP port 500)

Web UI
Navigate to Network > IKE Crypto Profile > edit IKE Crypto Profile > edit DH Group
Comparing Web GUI for DH Group Phase 1 mismatch

CLI
On both VPN peers, run the below command(s) via CLI
>show vpn gateway name <name>
FW1> show vpn gateway name IKEGatewayTest1
GwID   Name          Peer-Address/ID                Local Address/ID                 Proposals    
1   IKEGatewayTest1   203.0.113.200                    203.0.113.100            [PSK][DH20][AES256][SHA512]
FW2> show vpn gateway name IKEGatewayTest1
GwID   Name          Peer-Address/ID                Local Address/ID                 Proposals    
1   IKEGatewayTest1   203.0.113.100                    203.0.113.200            [PSK][DH19][AES256][SHA512]


System Logs
Navigate to Monitor > System Logs
Comparing System Logs for Phase 1 DH Group mismatch

Wireshark
Take a packet capture on both VPN peers and open them in Wireshark side-by-side
Comparing Wireshark for Phase 1 DH Group mismatch
This will cause the VPN negotiation to fail with this message:
Comparing Wireshark for Phase 1 DH Group mismatch 2 NO_PROPOSAL_CHOSEN

ikemgr.log
Run the below command via CLI on both peers

>less mp-log ikemgr.log
2022-06-27 12:10:41 [ERR ]: Proposal Unmatched.!
2022-06-27 12:10:41 [PWRN]: [IKEGatewayTest1:360] IKEv2 proposal doesn't match, please check crypto setting on both sides.
2022-06-27 12:10:41 [PERR]: no proposal chosen.
2022-06-27 12:11:40 [PWRN]: [IKEGatewayTest1:354] unauthenticated NO_PROPOSAL_CHOSEN received, you may need to check IKE settings.

 



Environment


  • PAN-OS
  • Palo Alto Networks firewall configured with IPSec VPN Tunnel


Cause


This issue occurs when the two VPN peers have a mismatch in DH Group

Resolution


  1. Configure both sides of the VPN to have a matching DH Group algorithm

Comparing Phase 1 DH Group matching screenshots in Web GUI
(If your VPN peer is a different vendor firewall, perform their equivalent/same Phase 1 DH Group configuration change on their firewall if they are the source of the mismatch)

  1. Perform a Commit
  2. Run the below commands a couple times each on both the VPN peer firewall CLIs to get them to freshly initiate and form:
>clear vpn ike-sa gateway <name>
>clear vpn ipsec-sa tunnel <name>


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000wlD8CAI&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language