手机VPN评测台
VPN

FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting

林书禾··10 min
FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting

Learn how FortiGate IPsec VPN works, how to configure a secure tunnel, and how to troubleshoot common connection issues.

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

FortiGate IPsec VPN lets you securely connect two networks or provide remote users with encrypted access to an organization’s resources. To configure it, define matching Phase 1 and Phase 2 settings on the FortiGate and its peer, add routes and firewall policies, then test both tunnel status and traffic flow. The exact steps depend on whether you are building a site-to-site or remote-access VPN.

Compare FortiGate IPsec VPN deployment options

OptionBest forConnection patternTypical accessMain consideration
Site-to-site VPNConnecting office networksGateway to gatewayNetwork-to-networkConfigure both gateways
Remote-access VPNConnecting individual usersClient to gatewayUser-to-networkProvide users with VPN clients
Site-to-site with static peersGateways with fixed public addressesGateway to gatewayNetwork-to-networkPeer addresses must match
Site-to-site with dynamic peersPeers with changing addressesGateway to gatewayNetwork-to-networkRequires appropriate peer identification
Remote access with user authenticationManaged user accessClient to gatewayUser-to-networkConfigure and maintain user authentication
Route-based VPNFlexible routing and policy controlTunnel interfaceRouted networks or usersRequires compatible routes and policies

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 FortiGate IPsec VPN does

IPsec is a set of protocols that authenticates peers and encrypts IP traffic across an untrusted network, such as the internet. A FortiGate can terminate an IPsec tunnel and apply its firewall, routing, and security controls to traffic entering or leaving that tunnel.

Common uses include:

  • Connecting two office networks with a site-to-site tunnel.
  • Giving remote users access to selected internal services.
  • Connecting a FortiGate to a cloud gateway or another compatible firewall.
  • Providing backup connectivity alongside a private WAN link.

A working tunnel involves more than successful encryption negotiation. The FortiGate must also have suitable routes and policies, and the networks at each end must be reachable without conflicting address ranges.

FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting: Checklist

Site-to-site and remote-access options

Choose the VPN type based on who or what needs to connect. A site-to-site VPN links fixed networks through gateways. A remote-access VPN connects individual devices, which may use dynamic addresses and require user authentication. VPN FortiGate: How It Works, How to Set It Up, and Which Type to Choose

Option Typical use Main configuration needs
Site-to-site IPsec Office-to-office or office-to-cloud connectivity Peer gateway, local and remote networks, routes, firewall policies
Remote-access IPsec Employee access from laptops or mobile devices Client settings, user or group authentication, address pool, access policies

FortiGate configuration screens and available options can vary by FortiOS version. For remote access, confirm client compatibility and authentication requirements before deploying to users. Avoid granting broad access merely to make an initial test succeed.

Core settings: Phase 1 and Phase 2

IPsec setup is commonly described in two negotiation stages. The gateway identities and secure control channel are established in Phase 1. Phase 2 defines how the actual network traffic is protected.

Phase 1

Configure the peer and agree on compatible security parameters, including:

  • The remote gateway address or an appropriate dynamic-peer option.
  • Authentication, such as a pre-shared key or certificates.
  • IKE version and compatible encryption and integrity algorithms.
  • Diffie-Hellman group, negotiation lifetime, and other required parameters.

Use strong, unique credentials and modern algorithms supported by both devices. If the FortiGate and its peer propose incompatible settings, negotiation may fail before a tunnel is established. Com.NordVPN.Android: What It Is and How to Install It Safely

Phase 2

Define which traffic should use the tunnel and how it is protected. For a site-to-site tunnel, this typically means specifying the local and remote network selectors, encryption and integrity settings, and lifetime.

The two peers need compatible Phase 2 settings. Check that subnet masks and network ranges are correct. A mismatch can prevent traffic from matching the tunnel even when Phase 1 is up. For route-based designs, confirm that the tunnel interface, routing, and policies reflect the intended traffic paths.

Compare core IPsec settings and configuration checks

AreaPhaseWhat to configureWhat to verifyCommon issue
Peer identityPhase 1Remote gateway and identificationPeer details agreeIdentity mismatch
AuthenticationPhase 1Shared secret or certificatesBoth peers use matching credentialsAuthentication failure
Encryption proposalsPhase 1Compatible algorithmsProposals overlapNo matching proposal
Key exchangePhase 1Compatible exchange settingsPeer settings agreeNegotiation failure
Traffic selectorsPhase 2Local and remote subnetsSelectors mirror the peerSubnet mismatch
Encryption proposalsPhase 2Compatible data-protection algorithmsProposals overlapPhase 2 fails
Lifetime settingsPhase 1 and Phase 2Key lifetimesSettings are compatibleRekeying problems
Routing and policiesAfter tunnel setupRoutes and firewall policiesIntended traffic uses the tunnelTunnel up, traffic blocked

Compiled November 2026; check the provider's site for current details. Certificate Validation Failure Cisco VPN: Causes and Fixes

Configuration workflow

A typical site-to-site deployment follows this sequence:

  1. Plan the network details. Record the local and remote subnets, peer addresses, authentication method, and required services. Check that the address ranges do not overlap.
  2. Create the IPsec tunnel. In the FortiGate VPN configuration, select a suitable template or configure the tunnel manually. Enter the peer details and Phase 1 and Phase 2 proposals agreed with the other gateway.
  3. Configure routing. Add a route for the remote network through the IPsec tunnel, or use the routing method appropriate to the design. Dynamic routing may be suitable for larger or changing networks.
  4. Add firewall policies. Permit only the necessary traffic between the internal interface and the VPN interface. Specify the correct source, destination, and services, and enable logging where useful.
  5. Configure the peer device. Apply compatible settings on the other gateway. A tunnel cannot reliably establish if the peer’s proposals, credentials, or traffic selectors differ.
  6. Test from both sides. Verify tunnel status, then test access to a known host or service in the remote network. Confirm return traffic is routed back through the VPN.

For remote access, the workflow also includes selecting an address pool, defining user or group authentication, and configuring client connection details. Restrict remote users to the resources they need, and use multifactor authentication where supported by the chosen design.

FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting: Key points

Troubleshooting common problems

Start by separating negotiation problems from traffic problems. A tunnel that is down usually points to peer reachability, authentication, or proposal mismatches. A tunnel that is up but carries no traffic more often points to routing, policies, selectors, or the destination host.

Check these items in order: Forticlientvpnonlineinstaller: What It Is and How to Install FortiClient VPN

  • Peer reachability: Confirm that the public gateway addresses are correct and reachable. Check upstream firewalls and whether UDP 500 and UDP 4500 are permitted when required.
  • Authentication and proposals: Verify the pre-shared key or certificate, IKE version, encryption and integrity algorithms, and Diffie-Hellman settings on both peers.
  • Phase 2 selectors: Compare local and remote networks, masks, and traffic definitions exactly.
  • Routes and policies: Confirm the FortiGate has a route to the remote network and policies allow the intended traffic in both directions.
  • NAT and overlapping networks: Check whether NAT is changing traffic unexpectedly and whether local and remote subnets overlap.
  • Endpoints: Make sure the destination host is online and its own firewall permits the test traffic.

FortiGate administrators can review VPN status and event logs in the GUI or use the FortiOS CLI diagnostic tools to inspect IKE and IPsec negotiation. Diagnostic commands and output vary across FortiOS releases, so use documentation for the installed version. Enable detailed debugging only while investigating, then disable it to avoid unnecessary log volume.

Security and maintenance

A reliable VPN also needs ongoing review. Keep FortiOS and peer-device software updated, use strong authentication, and remove outdated tunnels and accounts. Limit policies to required networks and services rather than permitting all traffic between sites.

Document the tunnel’s peer, subnets, authentication method, proposals, routes, and owner. Monitor tunnel events and test failover procedures if the VPN supports a backup gateway or redundant path. Before changing cryptographic settings, confirm compatibility with the peer and schedule a maintenance window if the change may interrupt connectivity.

Troubleshoot FortiGate IPsec VPN problems Best Free VPN Extension for Microsoft Edge: What to Know Before You Install

SymptomFirst checkLikely causeNext actionSuccess indicator
Tunnel does not establishPhase 1 statusPeer, identity, or authentication mismatchCompare peer settings and credentialsPhase 1 is established
Phase 1 works, Phase 2 failsPhase 2 statusProposal or selector mismatchCompare proposals and subnet selectorsPhase 2 is established
Tunnel is up, traffic failsRoutes and firewall policiesMissing route or policyVerify route, policy, and traffic selectorsIntended traffic passes
One direction works onlyPolicies and return routeAsymmetric routing or missing return accessCheck both directions and return pathTraffic works both ways
Intermittent disconnectionsLogs and rekey behaviorLifetime or connectivity issueReview lifetimes and peer stabilityTunnel remains established
Users cannot connectClient settings and authenticationCredential or client configuration issueVerify user access and client parametersUser connects successfully

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

Recommendation

For most FortiGate deployments, use a route-based IPsec design with modern, mutually supported cryptographic settings, narrowly scoped firewall policies, and documented routes. Build and test one tunnel at a time, verify actual application traffic from both ends, and consult the FortiOS documentation for the version in use before applying configuration changes.

© 2026 影川数码评测 · Yingchuan Digital Review Ltd.