VPN推荐评测
VPN

IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting

顾沐川··10 min
IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting

Learn how FortiGate IPsec VPNs work, how to configure them, and how to troubleshoot common connection issues.

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

An IPsec VPN on a FortiGate firewall provides an encrypted connection between networks or between a remote user and a private network. To set one up, choose the VPN type, configure matching security settings on both endpoints, add routing and firewall policies, then verify that traffic can pass through the tunnel. FortiGate’s IPsec VPN wizard can simplify common configurations, but understanding the main settings makes deployment and troubleshooting more reliable.

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

DesignTypical useEndpointsMain advantageMain consideration
Site-to-siteConnect office networksFortiGate devices or compatible peersNetwork-to-network accessRequires matching tunnel settings
Remote accessConnect individual usersFortiGate and user devicesAccess for traveling or home usersRequires client and user configuration
Route-basedConnect networks using interfaces and routesIPsec tunnel interfacesFlexible routing and policy controlRouting must be configured correctly
Policy-basedMatch traffic with security policiesFortiGate and compatible peerTraffic selection in policiesLess flexible for complex routing
Dial-up IPsecAccept tunnels from changing remote endpointsFortiGate and remote peersSupports dynamic peer addressesPeer authentication needs careful setup
Hub-and-spokeConnect branches through a central siteHub and multiple spokesCentralized inter-site connectivityHub capacity and routing matter

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

IPsec protects IP traffic by authenticating the other endpoint and encrypting data as it travels across an untrusted network, such as the internet. FortiGate supports two common use cases:

  • Site-to-site VPN: Connects networks behind two gateways, such as an office and a data center.
  • Remote-access VPN: Connects an individual device to a protected network. FortiClient is commonly used for this purpose.

An IPsec tunnel negotiates security in two stages. Phase 1, also called IKE, establishes a secure relationship between the VPN endpoints. Phase 2 negotiates the protection for traffic crossing the tunnel, including the networks allowed to communicate.

A tunnel can be established without being fully useful. Users also need appropriate routes and firewall policies, and the permitted network ranges must match the intended traffic.

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

Choose the right VPN design

Before configuration, identify the endpoints, internal networks, and traffic that should cross the tunnel. For a site-to-site connection, record the public IP addresses and protected subnet ranges on both sides. For remote access, decide which internal resources users need and how their devices will authenticate. Nord VPN in China: Does It Work and How to Prepare

Design Typical use Key planning details
Site-to-site Connects two offices or networks Peer addresses, local and remote subnets, routing
Remote access Connects users to a private network Client software, user authentication, address assignment
Route-based VPN Flexible routing and policy control Tunnel interface, routes, firewall policies
Policy-based VPN Defines traffic selectors in the VPN configuration Matching local and remote traffic selectors

FortiGate configuration options vary by FortiOS version and deployment. Route-based VPNs are widely used because they work naturally with routing and firewall policies. Check your FortiOS documentation and the configuration on the peer device before choosing a design.

Site-to-site IPsec configuration options

OptionCommon choiceWhat it controlsCompatibility considerationTroubleshooting focus
IKE versionIKEv1 or IKEv2Tunnel negotiationMust match the peerCheck phase 1 negotiation
AuthenticationPre-shared key or certificatesPeer identity verificationCredentials and methods must matchVerify key or certificate details
EncryptionAgreed encryption algorithmConfidentiality of trafficBoth peers need a common proposalCompare phase 1 and phase 2 proposals
IntegrityAgreed integrity algorithmMessage integrityMust be supported by both peersCheck proposal mismatch
Diffie-Hellman groupAgreed groupKey exchangeGroup must match peer settingsReview negotiation logs
Phase 2 selectorsLocal and remote subnetsTraffic protected by the tunnelSelectors must align across peersCheck subnet and selector definitions
RoutingStatic routes or dynamic routingPath to remote networksRoute design must match topologyConfirm routes and next hop
Security policyRules for tunnel trafficPermitted trafficPolicies must allow intended flowsCheck policy match and logs

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

Configure a site-to-site IPsec tunnel

For a typical site-to-site setup, configure both gateways. The settings must agree wherever the peers negotiate them. Does Microsoft Edge Have VPN? What Edge Secure Network Does

1. Gather the required information

Document the following before opening the configuration wizard:

  • Public IP address or hostname of each VPN gateway
  • Local and remote protected subnets
  • Authentication method and shared secret, or certificate details
  • IKE version and compatible encryption and integrity algorithms
  • Diffie-Hellman group and key lifetime
  • Phase 2 encryption, integrity, lifetime, and traffic selectors
  • Whether either gateway is behind NAT

Use strong, supported cryptographic settings. Avoid selecting algorithms solely because they are easy to match. Confirm that they are appropriate for your security requirements and supported by both devices.

2. Create the VPN

In the FortiGate interface, open the IPsec VPN configuration area and use the site-to-site wizard if it fits your topology. Provide the peer information, authentication details, and protected networks. The wizard generates much of the tunnel configuration, but review the resulting settings against the remote gateway.

If configuring manually, create the phase 1 interface and phase 2 settings, then ensure that the local and remote traffic selectors are reversed correctly on the peer. For example, if one side defines its office subnet as local, the other side should define that same subnet as remote. FortiClient VPN for Windows 11: Download, Install, and Connect

3. Add routes and firewall policies

For a route-based tunnel, create a route for the remote subnet through the IPsec tunnel interface, unless your routing design handles it another way. Add firewall policies that permit the required traffic between the internal interface and the VPN interface. Apply the appropriate security profiles and logging for your environment.

Also check whether return traffic has a valid route. A tunnel may show as up while packets fail because the remote network has no route back to the source subnet.

Configure remote access

A remote-access IPsec VPN requires a client configuration that matches the FortiGate’s VPN settings. Depending on the design, users may authenticate with a shared secret, certificates, user credentials, or a combination of methods. For business deployments, use individual identities and strong authentication rather than relying on a shared credential alone.

Plan the client address range so it does not overlap with the user’s home network or the protected networks. Decide whether users should access only selected internal subnets or send all internet traffic through the VPN. Configure the matching routes and firewall policies, and test access with a standard user account before wider rollout. Is Cato a VPN? How Cato SASE and Cato Client Work

Provide users with clear instructions for installing the approved client, importing or creating the connection, and reporting errors. Keep client versions and FortiOS versions supported and up to date.

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

Diagnose common FortiGate IPsec VPN problems

SymptomLikely areaWhat to checkUseful evidenceNext step
Tunnel will not establishPhase 1 settingsPeer address, IKE version, authenticationVPN negotiation logsAlign phase 1 settings
Phase 1 works, phase 2 failsPhase 2 proposals or selectorsEncryption, integrity, subnetsPhase 2 negotiation logsMatch proposals and selectors
Tunnel is up, traffic failsRoutes or policiesRoutes, policies, address objectsTraffic and firewall logsPermit and route the intended traffic
Only one direction worksReturn path or policyRoutes and policies at both endsSession and traffic logsCorrect the return path
Remote users cannot connectClient or user configurationClient settings, credentials, authenticationClient and FortiGate logsVerify user and client settings
Name-based access failsDNS configurationDNS servers and name resolutionClient DNS resultsCorrect DNS settings
Tunnel drops intermittentlyConnectivity or negotiationLink stability and tunnel timersEvent and VPN logsInvestigate link and negotiation events
Tunnel connects to the wrong peerPeer identificationRemote gateway and identity settingsIKE logsConfirm peer address and identity

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

Troubleshoot common problems

Troubleshoot from the tunnel outward rather than changing several settings at once. How to Enable VPN in Edge: Turn On Microsoft Edge Secure Network

  • Phase 1 does not establish: Check peer addresses, reachability, IKE version, authentication details, encryption proposals, and NAT traversal.
  • Phase 1 is up, but phase 2 fails: Compare phase 2 proposals, key lifetimes, and local and remote traffic selectors.
  • Tunnel is up, but no traffic passes: Verify routes, firewall policies, address objects, and return paths. Confirm that the traffic matches the configured selectors.
  • Only some applications fail: Check application ports, security profiles, MTU or fragmentation issues, and overlapping subnet ranges.
  • The connection drops intermittently: Review logs, peer stability, rekey settings, and whether a device or ISP is interrupting IKE or IPsec traffic.

Use the FortiGate VPN status page and event logs to see whether negotiation reaches phase 1 and phase 2. For deeper diagnosis, FortiGate’s command-line diagnostics can show IKE negotiation and packet flow. Consult the commands for your FortiOS version, and disable verbose debugging after testing. Make one change at a time, then repeat the same connection test.

Recommendation

For most new deployments, use a route-based FortiGate IPsec VPN with strong, mutually supported cryptographic settings, clearly documented subnets, and narrowly scoped firewall policies. Validate both directions of traffic, keep FortiOS and client software current, and save a copy of the working configuration.

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