NewIP VPN Notes
VPN

FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting

By Priya Castellanos · · 9 min
FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting

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

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

FortiGate IPsec VPN creates an encrypted connection between networks, such as two offices, or between a remote user and a company network. To set up a site-to-site tunnel, configure matching Phase 1 and Phase 2 parameters on both FortiGate devices, add routes to the remote network, and create firewall policies that allow the intended traffic. The tunnel can be established while traffic still fails, so routing and policy configuration matter as much as encryption settings.

Compare common FortiGate IPsec VPN deployment options

OptionConnectsTypical useMain setup inputsBest fit
Site-to-siteTwo networksBranch connectivityPeer address, subnets, keysFixed locations
Remote accessIndividual users to a networkWorkforce accessUser identity, client, gatewayTraveling users
Route-based tunnelNetworks through an interfaceFlexible routingTunnel interface, routes, policiesDynamic routing
Policy-based tunnelNetworks through matching policiesSpecific traffic flowsSelectors, policies, peer settingsNarrow traffic scope
Static peerKnown public endpointStable internet linksPeer IP, authentication settingsFixed-address sites
Dynamic peerEndpoint with changing addressRemote or variable linksPeer identity, authentication settingsChanging-address peers

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 protects IP traffic by authenticating the participating gateways and encrypting data between them. A common FortiGate deployment is a site-to-site VPN: one FortiGate at each location establishes a tunnel across the internet or another shared network.

FortiGate can also provide remote-access IPsec VPNs for individual devices. Their setup differs from site-to-site VPNs because it involves user authentication, client configuration, and address assignment. This guide focuses on the site-to-site configuration, which is the usual interpretation of FortiGate IPsec VPN.

The two main negotiation stages are:

  • Phase 1 (IKE): The FortiGates identify and authenticate each other, then establish a secure management channel.
  • Phase 2 (IPsec): The devices agree on the traffic to protect and establish the keys used to encrypt it.

Both peers need compatible settings. The devices do not always need identical firmware or interface names, but their VPN proposals, authentication details, and traffic selectors must agree. VPN FortiGate: How It Works, Setup Options, and Best Practices

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

Information to prepare before setup

Collect the network and security details for both locations before configuring the tunnel. For example, Site A might use 192.168.10.0/24 and Site B 192.168.20.0/24. These ranges must not overlap.

You will typically need:

  • Each FortiGate’s public IP address or reachable hostname.
  • The local and remote protected subnets.
  • An agreed authentication method, such as a pre-shared key or certificates.
  • Compatible IKE version, encryption, authentication, and Diffie-Hellman settings.
  • Phase 2 encryption, authentication, and lifetime settings.
  • The intended interface, routing approach, and permitted services.

Use strong cryptographic proposals supported by both devices and follow your organization’s security standards. Avoid reusing a pre-shared key across unrelated tunnels. Where practical, certificates can provide more manageable identity-based authentication.

Configure a site-to-site tunnel

In the FortiGate web interface, create an IPsec tunnel using the VPN wizard or manual settings. Menu labels and available options can vary by FortiOS version, so check the documentation for the version installed on each device. What Is com.NordVPN.Android? A Guide to the NordVPN Android App

Phase 1 settings

On the first FortiGate, specify the remote gateway’s public address and the local outgoing interface. Choose an IKE version and authentication method, then configure the agreed proposals and key lifetime. Enter the pre-shared key if that method is used.

Configure the second FortiGate with the first device’s public address and the corresponding settings. Ensure that each peer identifies the correct remote gateway. If a device is behind NAT, configure NAT traversal as needed and confirm that upstream routers allow the required traffic.

Phase 2 settings

Define the local and remote subnets for the traffic selector. The networks must be reversed on the other peer:

Setting Site A FortiGate Site B FortiGate
Local subnet 192.168.10.0/24 192.168.20.0/24
Remote subnet 192.168.20.0/24 192.168.10.0/24
Remote gateway Site B public IP Site A public IP

Select compatible Phase 2 proposals and lifetimes. If the protected networks are larger or more complex than a single subnet, create selectors that accurately represent the traffic both sides should encrypt. Certificate Validation Failure Cisco VPN: Causes and Fixes

Routes and firewall policies

A tunnel interface does not automatically make every network reachable. Add a route for the remote subnet through the IPsec interface, or configure dynamic routing if that is part of the design.

Create firewall policies in the required directions. A typical policy allows traffic from the local LAN to the remote subnet through the VPN interface, with a corresponding policy for return traffic where required by the configuration. Restrict services and source or destination addresses to what users actually need. For a standard routed IPsec tunnel, source NAT is generally not used between the protected subnets unless the design specifically requires it.

Compare information to prepare before configuring a tunnel

ItemNeeded forExample or formatCheck before setup
Local networkLocal traffic selectorSubnet or address rangeConfirm reachable networks
Remote networkRemote traffic selectorSubnet or address rangeConfirm non-overlapping ranges
Peer addressIdentify remote gatewayPublic IP or hostnameVerify reachability
AuthenticationEstablish trusted peerPre-shared key or certificatesMatch settings at both ends
IKE versionNegotiate the connectionIKEv1 or IKEv2Ensure peer compatibility
Encryption settingsProtect tunnel trafficMatching algorithms and proposalsAlign both endpoints
Routing planDirect traffic into tunnelStatic route or routing protocolAvoid conflicting routes
Firewall policiesPermit intended trafficSource, destination, servicesAllow traffic in both directions

Compiled November 2026; check the provider's site for current details. FortiClientVPNOnlineInstaller: How to Download and Install FortiClient VPN

Check that the tunnel works

Confirm that Phase 1 and Phase 2 are established in the VPN monitor or IPsec status page. A tunnel may show as down simply because no matching traffic has attempted to use it. In some configurations, it comes up on demand. Generate traffic from a host in one protected subnet to a permitted host in the other.

Then verify the complete path:

  • The sending host has the correct default gateway.
  • The FortiGate has a route to the destination subnet through the tunnel.
  • Firewall policies permit the traffic in the relevant direction.
  • The remote network has a return route to the source subnet.
  • Endpoint firewalls allow the test service, such as ICMP or an application port.

Test with a service that policy and endpoint settings explicitly allow. A failed ping alone does not prove the VPN is broken, since ICMP may be blocked even when other applications work.

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

Troubleshoot common problems

If Phase 1 does not establish, compare the gateway addresses, IKE version, authentication method, pre-shared key, proposals, and peer identity. Also check internet reachability and whether intervening equipment is blocking IKE or NAT-T traffic. Best Free VPN Extension for Microsoft Edge: What to Know

If Phase 1 is up but Phase 2 is down, inspect the Phase 2 proposals, lifetimes, and local and remote traffic selectors. A common mistake is entering the same local and remote subnets on both devices instead of reversing them.

If the tunnel is up but traffic fails, focus on routing and policy rather than changing encryption settings. Confirm that both FortiGates know how to reach the opposite subnet and that no overlapping route, policy, or address translation is diverting the traffic.

FortiGate’s VPN status views and event logs can help identify negotiation failures. For deeper diagnosis, administrators can use CLI commands such as get vpn ipsec tunnel summary and, when appropriate, IKE debug commands. Debug output can contain sensitive operational details. Enable it only during investigation and disable it afterward.

Compare troubleshooting checks for common IPsec VPN symptoms NordVPN in China: Does It Work and What Should You Know?

SymptomFirst checkLikely areaUseful evidenceNext step
Tunnel will not establishPeer reachabilityNetwork or peer addressIKE logsVerify endpoint and connectivity
Authentication failsCredentials and identityPre-shared key or certificatesIKE negotiation logsMatch authentication settings
Phase 1 failsIKE proposalsVersion or crypto mismatchPhase 1 status and logsAlign IKE settings
Phase 2 failsTraffic selectorsSubnets or proposalsPhase 2 status and logsMatch selectors and algorithms
Tunnel is up, traffic failsRoutes and policiesRouting or firewall rulesRoute table and policy hitsConfirm permitted paths
One-way trafficReturn routeAsymmetric routingPacket capturesCheck both directions
Intermittent tunnelLink stability and timersWAN or negotiation settingsEvent logsReview connectivity and rekey settings

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

Recommendation

Use a documented configuration with matching Phase 1 and Phase 2 settings, non-overlapping subnets, explicit routes, and least-privilege firewall policies. After testing traffic in both directions, save the configuration details securely and monitor logs and tunnel status so changes or outages can be identified quickly.

© 2026 Northlight Network Notes · Northlight Network Notes LLC