VPN推荐评测
VPN

FortiGate VPN PFS: What It Is and How to Configure It

顾沐川··8 min
FortiGate VPN PFS: What It Is and How to Configure It

Learn how Perfect Forward Secrecy works in FortiGate VPNs, how to configure it, and how to troubleshoot mismatched settings.

nord-vpn-microsoft-edge
nord-vpn-microsoft-edge

FortiGate VPN PFS means Perfect Forward Secrecy, a security option for IPsec VPN Phase 2. When enabled, the peers perform an additional Diffie-Hellman key exchange to derive fresh keys for the IPsec security association. This helps limit the impact if a previous session key is exposed. For a site-to-site VPN to work, both peers need compatible PFS settings and key exchange groups.

NordVPN — fast, secure VPN

Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →

PFS behavior by VPN phase

AspectPhase 1Phase 2
What it establishesIKE security associationIPsec security association
PFS setting appliesNoYes
Uses a DH exchangeYesWhen PFS is enabled
Creates keys forIKE negotiationIPsec data protection
Rekey effectRenews IKE keysCan create fresh IPsec keys
PFS mismatch concernNot applicablePeer settings must match
Main configuration areaPhase 1 settingsPhase 2 settings
Typical purposeProtects IKE control trafficAdds key separation for VPN traffic

Compiled November 2026; check the provider's site for current details.

VPN prices compared
VPNObfuscationFrom / monthPlanFree planRefundAlipayWeChatUnionPayCryptoWebsite opens in ChinaTrustpilot
ZoogVPNTurn on manually
Shadow
$2.49/mo27 months: $59.99Yes7 days✓✓✓✓Official site blocked; our special link opens (4.4 s)4.2/5 (195 reviews)
NordVPNTurn on manually
Obfuscated Servers / NordWhisper
$3.49/mo27 months: $94.23No30 days?✗✓✓✗ Blocked4.2/5 (51,628 reviews)
ExpressVPN✓ On by default
all servers
$3.00/mo28 months: $84No30 days✗✗✓✗✗ Blocked4.4/5 (29,706 reviews)
Surfshark✓ On by default
Camouflage, with OpenVPN
See siteSee siteNo30 days✗✗✗✓✗ Blocked4.3/5 (31,823 reviews)
Proton VPNTurn on manually
Stealth, free plan too
$2.99/mo12 months: $35.88Yes30 days✗✗✗✓✗ Blocked2.1/5 (1,040 reviews)
Astrill VPNTurn on manually
StealthVPN / OpenWeb
$12.50/mo24 months: $300NoSee site✗✗✗✓✗ Blocked1.3/5 (110 reviews)
Private Internet AccessTurn on manually
Shadowsocks, OpenVPN only
$2.03/mo40 months: $81.2No30 days✗✗✗✗✗ Blocked4.2/5 (11,033 reviews)
CyberGhostTurn on manually
selected servers
$2.19/mo28 months: $61.32No45 days✗✗✗✓✗ Blocked4.0/5 (24,178 reviews)
PureVPNTurn on manually
switch to OpenVPN
$1.69/mo60 months: $101.55No31 days??✗✓✗ Blocked4.4/5 (17,994 reviews)
AdGuard VPN✓ On by default
TrustTunnel
$2.99/mo24 months: $71.76Yes30 days✓✗✓✓Official site blocked; our special link opens (3.7 s)4.3/5 (290 reviews)
MullvadTurn on manually
QUIC / Shadowsocks / LWO
$5.61/mo€5/moNo14 days✗✗✗✓✗ Blocked3.2/5 (192 reviews)
WindscribeTurn on manually
Stealth / WStunnel
$5.75/mo12 months: $69YesSee site✗✗✗✓✗ Blocked4.7/5 (13,355 reviews)
StrongVPNTurn on manually
Scramble, OpenVPN TCP
See siteSee siteNo30 days✓✗✗✗✗ Blocked4.4/5 (2,695 reviews)
LightXtreme 闪连Not listed$7.08/mo12 months: $84.99Yes30 days✓✓✓✓✓ Yes (3.5 s)No page

Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.

Obfuscation checked 2026-11-14 on each vendor's site and help center: "on by default" = nothing to set; "turn on manually" = switch protocol or mode in settings; "not listed" = the vendor describes no obfuscation.

Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.

China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-18 01:02 Beijing time.

Trustpilot score and review count checked 2026-11-10.

What PFS does in a FortiGate VPN

An IPsec VPN uses negotiated keys to encrypt traffic. With PFS enabled, FortiGate performs a new Diffie-Hellman exchange when establishing or rekeying the Phase 2 security association, rather than relying only on key material derived from the Phase 1 exchange.

The security benefit is improved separation between keys. If one set of session keys is compromised, PFS is designed to make it harder to use that information to recover other session keys. PFS does not prevent every kind of VPN attack, and it does not replace strong encryption, authentication, secure device management, or timely firmware updates.

In FortiGate configuration, PFS is generally controlled in the Phase 2 proposal settings. The exact interface labels and available options can vary by FortiOS version and VPN type.

FortiGate VPN PFS: What It Is and How to Configure It: Checklist

PFS and Phase 1 versus Phase 2

Phase 1 establishes the authenticated IKE relationship between VPN peers. Phase 2 negotiates the IPsec security associations that protect traffic between the networks. FortiClient VPN 7.2 Download: Safe Sources and Installation Guide

PFS is a Phase 2 setting. It is associated with a Diffie-Hellman group used for the additional key exchange. It is separate from the Phase 1 DH group, even though both settings involve Diffie-Hellman.

Setting Purpose Where to check
Phase 1 DH group Helps establish the IKE security relationship Phase 1 proposal settings
Phase 2 PFS Requests a fresh key exchange for IPsec security associations Phase 2 proposal settings
Phase 2 DH group Selects the group used when PFS is enabled Phase 2 settings on both peers

For a compatible tunnel, compare the configuration on both devices rather than assuming that matching encryption algorithms are enough. A mismatch in PFS or the selected group can prevent Phase 2 from coming up.

DH group selection considerations

Choice factorLower DH groupHigher DH group
Security strengthGenerally lowerGenerally higher
Processing costGenerally lowerGenerally higher
Negotiation speedOften fasterCan take longer
Peer compatibilityMay support more peersDepends on peer support
Configuration requirementMust match peerMust match peer
Best fitCompatibility or resource limitsStronger security when supported
Verification stepCheck both peersCheck both peers

Compiled November 2026; check the provider's site for current details. CatVPN: What It Is, How to Evaluate It, and Whether You Should Use It

How to configure FortiGate VPN PFS

Before changing settings, record the current configuration and confirm the required values with the administrator of the remote VPN peer. If the tunnel is business-critical, plan a change window: applying incompatible settings can interrupt traffic.

In the FortiGate GUI, open the relevant IPsec tunnel and locate its Phase 2 settings. Depending on the FortiOS release and tunnel setup, these may appear under the tunnel’s Phase 2 selectors or as a separate Phase 2 entry.

Then:

  • Enable PFS if the remote peer supports and requires it.
  • Select a supported DH group that matches the remote peer’s Phase 2 configuration.
  • Confirm the Phase 2 encryption and authentication proposals also match.
  • Save the configuration and check the tunnel status and logs.

FortiOS also supports configuration through the CLI. A typical Phase 2 configuration includes a PFS option and a DH group, but command syntax and accepted group names can differ by version. Use the FortiGate CLI reference for your installed FortiOS release, and verify the tunnel name and existing settings before making changes. Do not copy a configuration blindly from another device. Extension VPN Free Edge: How to Choose and Use One Safely

If the remote peer does not support PFS, or its policy requires PFS to be disabled, configure both ends accordingly. The setting must be compatible. Enabling PFS on only one side commonly causes negotiation failure.

Choosing a DH group

Choose a group supported by both devices and permitted by your organization’s security policy. Do not select a group solely because it has a larger number: support, performance, and the peer’s configuration all matter. Newer FortiOS releases and peer devices may offer different choices.

As a practical approach:

  • Prefer a mutually supported group that meets current organizational standards.
  • Avoid weak or deprecated options where stronger compatible alternatives are available.
  • Check vendor documentation for both VPN endpoints.
  • Test the change and monitor CPU use and tunnel stability, especially on smaller appliances or busy gateways.

PFS adds computation during key establishment and rekeying. For most modern deployments, the overhead is manageable, but the right choice depends on device capacity, tunnel volume, and security requirements. Free VPN Extension for Microsoft Edge Browser: What to Know

FortiGate VPN PFS: What It Is and How to Configure It: Key points

Troubleshooting FortiGate PFS negotiation failures

CheckWhat to comparePossible issueAction
PFS enabledBoth Phase 2 peersEnabled on only one sideAlign the setting
DH groupBoth Phase 2 peersGroups differSelect a shared group
Phase 2 proposalBoth peersEncryption or authentication mismatchAlign proposals
Phase 1 statusBoth peersIKE negotiation is failingResolve Phase 1 first
Phase 2 selectorsBoth peersTraffic selectors differAlign selectors
Rekey behaviorLogs and peer settingsFailure appears during rekeyCheck PFS and DH settings
Configuration scopeCorrect Phase 2 entryEdited a different tunnel entryVerify the intended entry
Negotiation logsFortiGate and peer logsError details are unclearReview both sides’ logs

Compiled November 2026; check the provider's site for current details.

Troubleshooting PFS negotiation failures

When a VPN fails after a PFS change, first compare the Phase 2 settings at both ends. Check that PFS is enabled or disabled consistently and that the DH group is identical and supported by each peer.

Also verify that: VPN 360 for Windows 11: Setup, Features, and What to Check

  • Phase 2 encryption and authentication proposals overlap.
  • The traffic selectors, such as local and remote subnets, match the intended tunnel.
  • The Phase 1 connection is established and stable.
  • Rekey lifetimes and other relevant IPsec parameters are compatible.
  • Logs on both endpoints show the same negotiation attempt and error.

FortiGate VPN event logs and IPsec diagnostics can help identify a proposal mismatch. Exact diagnostic commands vary by FortiOS version, so consult the version-specific Fortinet documentation. If the tunnel was working before a change, restore the recorded settings to recover connectivity, then test one adjustment at a time.

Recommendation

Use PFS when both VPN peers support it and your security policy calls for it. Match the Phase 2 PFS setting and DH group on both devices, choose a mutually supported group that meets current standards, and verify the tunnel after any change.

© 2026 信远网络评测 · Xinyuan Net Review Ltd.