nerdexam
Palo_Alto_Networks

PCNSE · Question #177

After Migrating from an ASA firewall to a Palo Alto Networks Firewall, the VPN connection between a remote network and the Palo Alto Networks Firewall is not establishing correctly. The following…

The correct answer is D. Update the IPSec Crypto profile for the Vendor IPSec Tunnel from no-pfs to group2. The "Pfs group mismatched" error with "my:0 peer:2" indicates that the Palo Alto Networks firewall is configured with no PFS (group 0) while the peer expects Group 2. To resolve this, the IPSec Crypto profile on the Palo Alto Networks firewall must be updated to use Group 2 for…

Submitted by rohit_dlh· Apr 18, 2026Configuration Troubleshooting

Question

After Migrating from an ASA firewall to a Palo Alto Networks Firewall, the VPN connection between a remote network and the Palo Alto Networks Firewall is not establishing correctly. The following entry is appearing in the logs:

Pfs group mismatched: my:0 peer:2 Which setting should be changed on the Palo Alto Networks Firewall to resolve this error message?

Options

  • AUpdate- the IPSec Crypto profile for the Vendor IPSec Tunnel from group2 to no-pfs.
  • BUpdate the IKE Crypto profile for the Vendor IKE gateway from no pfs to group2.
  • CUpdate the IKE Crypto profile for the Vendor IKE gateway from group2 to no pfs
  • DUpdate the IPSec Crypto profile for the Vendor IPSec Tunnel from no-pfs to group2.

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    4% (1)
  • C
    8% (2)
  • D
    73% (19)

Why each option

The "Pfs group mismatched" error with "my:0 peer:2" indicates that the Palo Alto Networks firewall is configured with no PFS (group 0) while the peer expects Group 2. To resolve this, the IPSec Crypto profile on the Palo Alto Networks firewall must be updated to use Group 2 for PFS.

AUpdate- the IPSec Crypto profile for the Vendor IPSec Tunnel from group2 to no-pfs.

Changing the IPSec Crypto profile to `no-pfs` (group 0) when the peer expects Group 2 would perpetuate the mismatch and not resolve the issue.

BUpdate the IKE Crypto profile for the Vendor IKE gateway from no pfs to group2.

PFS (Perfect Forward Secrecy) group settings are configured in the IPSec Crypto profile, not the IKE Crypto profile. The IKE Crypto profile handles Phase 1 settings like authentication and encryption algorithms.

CUpdate the IKE Crypto profile for the Vendor IKE gateway from group2 to no pfs

Changing the IKE Crypto profile from `group2` to `no pfs` is incorrect because PFS is an IPSec (Phase 2) setting, not an IKE (Phase 1) setting, and it would also incorrectly suggest removing PFS when the peer expects it.

DUpdate the IPSec Crypto profile for the Vendor IPSec Tunnel from no-pfs to group2.Correct

The log message 'Pfs group mismatched: my:0 peer:2' explicitly states that the local firewall (my) has PFS group 0 (no PFS) while the peer expects PFS Group 2. Therefore, updating the IPSec Crypto profile on the Palo Alto Networks firewall to use Group 2 (e.g., DH Group 2) will match the peer's configuration and resolve the mismatch.

Concept tested: IPsec VPN PFS mismatch troubleshooting

Source: https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/vpns/set-up-an-ipsec-vpn-tunnel/configure-ipsec-vpn-tunnel.html

Topics

#VPN#IPSec#PFS#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PCNSE Practice