China Route Planner
FortiGate IPsec VPN: Setup, Configuration, and Troubleshooting
VPN

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.

Theo Bernard
· 10 min read
nord-vpn-microsoft-edge
nord-vpn-microsoft-edge

A FortiGate IPsec VPN creates an encrypted connection between a FortiGate firewall and another gateway, or between a FortiGate and a remote-access client. To bring a tunnel up reliably, configure compatible Phase 1 and Phase 2 proposals, define the traffic to encrypt, and make sure routes and firewall policies allow that traffic. This guide explains the key concepts, setup steps, and common fixes.

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 →

Compare site-to-site and remote-access IPsec VPNs

Decision pointSite-to-site VPNRemote-access VPNBest fit
Main purposeConnects networksConnects individual usersDepends on what needs access
Typical endpointAnother firewall or gatewayUser deviceNetwork-to-network or user-to-network
User locationFixed siteAnywhere with internet accessOffice or mobile workforce
Traffic scopeNetworks behind both gatewaysAuthorized user and permitted resourcesBroad site access or individual access
Peer configurationConfigure both gatewaysConfigure FortiGate and user endpointDepends on endpoint type
AuthenticationGateway credentials and settingsUser authentication and endpoint settingsMatch organizational policy
Common design focusSubnets, routes, and tunnel settingsUsers, access policies, and client settingsPlan around the connection type

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 is used for

IPsec protects network traffic by authenticating the other endpoint and encrypting data as it travels across an untrusted network, such as the public internet. FortiGate supports site-to-site VPNs, which connect networks at separate locations, and remote-access VPNs, which let individual users connect to a company network.

A typical site-to-site tunnel connects a local subnet behind one FortiGate to a remote subnet behind another gateway. Users can then reach permitted services across the tunnel without sending that traffic unencrypted over the internet.

IPsec VPN configuration has two main negotiation stages:

  • Phase 1 (IKE): Establishes and authenticates the secure relationship between the VPN endpoints.
  • Phase 2 (IPsec): Negotiates protection for the actual network traffic and defines which traffic can use the tunnel.

Both endpoints need compatible settings. The exact options available depend on the FortiOS version and the device at the other end. VPN FortiGate: How It Works, Setup Options, and Best Practices

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

Site-to-site setup: the essential steps

FortiGate’s VPN wizard can create a basic site-to-site connection, while manual configuration offers more control. Menu names and options may vary by FortiOS release.

Before configuring the tunnel, collect the necessary details for both sites:

  • Public IP address or hostname of each VPN endpoint
  • Local and remote network ranges
  • Authentication method and, if used, the pre-shared key
  • IKE version and compatible encryption and integrity proposals
  • Phase 1 and Phase 2 lifetimes
  • Whether either endpoint is behind NAT
  • Required routes and permitted services

Then configure the connection:

  1. Create Phase 1. Set the remote gateway address, IKE version, authentication method, and compatible encryption and integrity algorithms. Use a strong, unique pre-shared key or certificate-based authentication as appropriate.
  2. Create Phase 2. Specify the local and remote traffic selectors, also called encryption domains. Choose compatible IPsec proposals and lifetimes.
  3. Add routing. Direct traffic for the remote subnet through the VPN interface or use the routing approach required by your design. Dynamic routing may be appropriate for larger networks.
  4. Create firewall policies. Allow the required traffic from the local network to the VPN interface and, where needed, from the VPN interface back to the local network. Apply only the services and destinations users need.
  5. Configure the other endpoint. Mirror the relevant settings there. Local and remote network definitions will appear reversed from that device’s perspective.
  6. Test and monitor. Generate traffic between permitted hosts, check the tunnel status, and confirm that counters increase.

A tunnel showing as “up” does not necessarily mean that applications can communicate. A route or policy may still be missing, or the traffic selectors may not include the intended hosts. Com.NordVPN.Android: What It Is and How to Use the NordVPN App

Compare important site-to-site IPsec design choices

ChoiceOptionConsiderationWhen it fits
Tunnel typeRoute-basedUses a virtual IPsec interface and routesFlexible routing and policy design
Tunnel typePolicy-basedAssociates IPsec with specific traffic policiesExisting policy-based design
Peer addressStaticPeer uses a known public addressStable peer connectivity
Peer addressDynamicPeer address can changePeer has a changing public address
Phase 1 authenticationPre-shared keyBoth peers must use the same keyStraightforward shared-secret setup
Phase 1 authenticationCertificatesUses certificate-based identityCertificate infrastructure is available
RoutingStatic routesManually define remote networksSmall or stable network designs
RoutingDynamic routingExchanges routes over the VPNNetworks with changing or multiple routes

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

Important settings and design choices

Setting What it controls What to check
IKE version How Phase 1 is negotiated Both endpoints support and use the same version
Phase 1 proposal Encryption and integrity for IKE At least one compatible proposal exists
Authentication How endpoints prove their identity Keys, certificates, IDs, and peer settings match
Phase 2 selectors Which traffic enters the tunnel Local and remote ranges correspond at both ends
Phase 2 proposal Protection for tunnel traffic Encryption and integrity settings are compatible
Routing and policies Whether traffic reaches and passes through the tunnel Routes point to the VPN, and policies permit required flows

Prefer current, secure algorithms supported by both devices, and avoid weak or obsolete options. Use unique credentials, restrict firewall policies to necessary traffic, and document the settings so they can be reviewed later.

Overlapping IP ranges can prevent a straightforward site-to-site setup. If both locations use the same subnet, consider renumbering one side or designing an appropriate translation strategy. Do not assume that creating a tunnel automatically resolves overlapping addresses. Certificate Validation Failure Cisco VPN: Causes and Fixes

Troubleshooting common connection problems

Start by identifying whether the issue is tunnel negotiation or traffic flow. A tunnel that fails to establish points toward Phase 1 or Phase 2. A tunnel that is established but carries no useful traffic usually points toward selectors, routing, policies, or the destination host.

Check these items in order:

  • Phase 1 does not establish: Verify the peer address, IKE version, authentication method, pre-shared key or certificates, and Phase 1 proposals. Also check whether UDP 500 or NAT traversal traffic on UDP 4500 is blocked along the path.
  • Phase 1 works but Phase 2 fails: Compare the selectors, IPsec proposals, and lifetimes at both ends. Check for mismatched subnets or incompatible settings.
  • Tunnel is up but traffic fails: Confirm that the local and remote routes are correct, firewall policies allow the traffic, and the destination host has a valid return route. Check host firewalls as well.
  • Only some hosts or services work: Review selectors, address objects, policy services, and any access restrictions. Test with a simple permitted connection before investigating more complex applications.
  • Tunnel disconnects or performance is poor: Look for unstable internet links, MTU or fragmentation problems, packet loss, and mismatched timers. Check device resource use and logs before changing multiple settings at once.

FortiGate provides VPN status and event logs through the web interface. For deeper investigation, administrators can use the CLI to inspect IKE and IPsec status and run targeted debug commands. Debug output can be detailed and may expose sensitive configuration information, so enable it only when needed and stop it after collecting evidence. Fortinet documentation for the installed FortiOS version is the best reference for exact commands and interface options.

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

Site-to-site versus remote access

The right FortiGate IPsec VPN design depends on who or what needs access. Forticlientvpnonlineinstaller: Download, Install, and Troubleshoot FortiClient VPN

  • Site-to-site: Connects entire networks or selected subnets. It suits branch offices, data centers, and partner links.
  • Remote access: Connects individual users or devices. It requires client configuration and should use suitable authentication, access controls, and user-specific permissions.

For remote users, define which internal resources are reachable rather than granting broad network access by default. Confirm client compatibility and follow the current FortiOS guidance for the chosen deployment method.

Troubleshoot common FortiGate IPsec VPN connection problems

SymptomCheck firstLikely areaNext step
Tunnel does not establishPeer address and reachabilityBasic connectivityConfirm the peer address and internet path
Phase 1 failsIKE version and proposalsPhase 1 mismatchMatch IKE and encryption settings on both peers
Authentication failsPre-shared key or certificatesPeer authenticationVerify the key or certificate identity on both sides
Phase 2 failsPhase 2 proposals and selectorsPhase 2 mismatchMatch proposals and local and remote networks
Tunnel is up, traffic failsRoutes and firewall policiesTraffic forwardingConfirm routes and policies allow the traffic
One-way trafficPolicies and return routeAsymmetric forwardingCheck both directions and the remote return path
Remote networks overlapLocal and remote subnetsAddressing designUse non-overlapping networks or plan address translation
Intermittent tunnelPeer stability and timersConnectivity or negotiationCheck link stability and matching tunnel settings

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

Recommendation

Use FortiGate IPsec VPN when you need encrypted network connectivity and can coordinate settings at both endpoints. Begin with a clear address plan, compatible IKE and IPsec proposals, and narrowly scoped firewall policies. After setup, test actual application traffic, not just tunnel status, and keep the configuration aligned with current Fortinet guidance for your FortiOS release. Free VPN Extension for Microsoft Edge: Best Options and Safe Setup

© 2026 Wayfarer Lantern Media · Wayfarer Lantern Media Ltd.