NewIP VPN Notes
VPN

IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting

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

Learn how to configure, secure, and troubleshoot an IPsec VPN on FortiGate for reliable site-to-site or remote access.

An IPsec VPN on FortiGate securely connects two networks or lets remote users reach an organization’s network through an encrypted tunnel. FortiGate firewalls support both site-to-site VPNs and remote-access VPNs, with configuration options available in the web interface and CLI. A successful setup requires matching settings at both ends, appropriate routing and firewall policies, and careful testing.

Compare FortiGate IPsec VPN deployment options

OptionBest fitPeer typeRouting approachMain consideration
Site-to-siteConnect office networksFortiGate or compatible gatewayStatic or dynamicRequires matching settings at both ends
Dial-up remote accessConnect roaming usersIndividual clientsClient routesRequires user and device authentication
Route-based tunnelFlexible network connectivityGateway or clientRouting tableUses a virtual IPsec interface
Policy-based tunnelSimple, fixed traffic flowsCompatible gatewayFirewall policiesLess flexible for complex routing
IKEv1Legacy compatibilityCompatible peerDepends on tunnel designUse only when the peer requires it
IKEv2Modern site-to-site or remote accessCompatible peerDepends on tunnel designPreferred when both peers support it

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.

Choose the right FortiGate IPsec VPN

A site-to-site IPsec VPN connects networks behind two gateways, such as a head office and a branch. A remote-access VPN connects an individual device to a protected network. The right design depends on who needs access and how the network is arranged.

VPN type Typical use Main configuration considerations
Site-to-site Connect offices or cloud networks Peer addresses, protected subnets, routing, and matching Phase 1 and Phase 2 settings
Remote access Connect employees’ devices to the network User authentication, client configuration, address assignment, and access policies

FortiGate configurations commonly use two stages:

  • Phase 1, or the IKE negotiation, authenticates the peers and establishes a secure control channel.
  • Phase 2, or the IPsec negotiation, defines the protected traffic and creates the encrypted data connection.

Both peers must agree on compatible settings. The exact menu names and options can vary by FortiOS version and VPN design.

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

Configure a site-to-site tunnel

Before configuring the tunnel, collect the public IP addresses of both gateways, the local and remote network ranges, and the authentication details. Confirm that the network ranges do not overlap. Also check that each gateway can reach its peer over the internet. FortiClient VPN for Windows 11: Download, Install, and Connect

In the FortiGate web interface, open VPN > IPsec Tunnels and create a new tunnel. For a standard site-to-site connection, select a site-to-site template if one is available. Configure the following:

  1. Remote gateway: Enter the peer’s public IP address, or select a dynamic-peer option if the other gateway does not have a fixed address.
  2. Authentication: Use a strong pre-shared key or certificates. The peer must use the same credentials and compatible authentication method.
  3. Phase 1 proposal: Choose compatible IKE version, encryption, integrity, and Diffie-Hellman group settings.
  4. Phase 2 selectors: Set the local and remote subnets that should pass through the tunnel. The local subnet on one side must match the remote subnet on the other.
  5. Lifetime and other options: Keep settings compatible with the peer. Enable features such as NAT traversal when the network path requires them.

Use strong, current cryptographic options supported by both devices. Avoid outdated algorithms and short, predictable pre-shared keys. If possible, use certificates to simplify secure identity management across larger deployments.

Compare site-to-site tunnel configuration choices

SettingCommon choiceAlternativeMatch on both peers?What to check
IKE versionIKEv2IKEv1YesPeer compatibility
AuthenticationPre-shared keyCertificatesYesKey or certificate validity
EncryptionAESPeer-supported cipherYesPhase 1 proposal compatibility
IntegritySHA-2Peer-supported hashYesPhase 1 and Phase 2 proposals
DH groupSupported modern groupPeer-supported groupYesPhase 1 key exchange settings
Phase 2 selectorsLocal and remote subnetsNarrower traffic selectorsYesNetworks must mirror across peers
NAT traversalEnabled when NAT is presentDisabled when not neededCompatible settingsNAT devices along the path
Dead peer detectionEnabledPeer-compatible settingCompatible behaviorStale or unreachable peers

Compiled November 2026; check the provider's site for current details. Is Cato a VPN? What Cato SASE and Cato Client Actually Do

Add routing and firewall policies

A tunnel can show as established while user traffic still fails. The FortiGate must know how to route traffic to the remote network, and policies must permit the intended traffic through the VPN interface.

For a route-based tunnel, add a route for the remote subnet through the IPsec tunnel interface. In some designs, dynamic routing such as BGP is used instead of static routes. Choose the method that fits the network and make sure return traffic has a valid route as well.

Create firewall policies for the traffic that should cross the tunnel. A typical site-to-site setup needs a policy from the local network interface to the IPsec tunnel and a corresponding policy for traffic in the reverse direction. Set the source and destination addresses narrowly, choose only the services users need, and enable logging where appropriate.

Check whether NAT is enabled on the VPN policies. Site-to-site traffic usually should not be translated when the peers expect to see each other’s original private addresses. NAT may be necessary in special cases, such as overlapping subnets, but it should be planned rather than enabled by default. Free Clash: How to Play Without Spending Money

For remote access, also configure the client-facing settings, user or group authentication, an address pool, and policies that limit users to approved internal resources. Give remote users only the access they require.

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

Test the connection and troubleshoot common failures

After saving the configuration, generate traffic between devices on the protected networks. Check both directions rather than relying only on the tunnel status indicator. Review the VPN monitor and FortiGate event logs for negotiation messages and policy denials.

Common problems include:

  • Phase 1 does not establish: Verify peer addresses, IKE version, authentication credentials, and Phase 1 proposals.
  • Phase 1 works but Phase 2 fails: Compare the encryption and integrity proposals, key lifetime, and local and remote subnet selectors.
  • Tunnel is up but traffic does not pass: Check routes, firewall policies, address objects, NAT settings, and the return path.
  • Connection works intermittently: Investigate changing public IP addresses, unstable internet links, mismatched lifetimes, or missing keepalive settings.
  • Traffic stops at one device: Check local host firewalls, default gateways, and whether the endpoint routes replies through the expected gateway.

For deeper diagnostics, FortiGate administrators can use the CLI to inspect tunnel status and run IKE debugging. Debug output can contain sensitive information, so use it only when needed and disable it after troubleshooting. Consult the FortiOS documentation for commands and procedures that match the installed version. How to Fix Virgin TV Go App Not Working With VPN

Troubleshoot common FortiGate IPsec VPN symptoms

SymptomLikely areaCheck firstPossible actionVerify with
Tunnel stays downPhase 1Peer address and IKE settingsAlign proposals and authenticationIKE status and logs
Phase 1 up, Phase 2 downPhase 2Selectors and proposalsMatch subnets and Phase 2 settingsIPsec status
Tunnel up, no trafficRouting or policyRoutes and firewall policiesAdd or correct matching rulesTraffic logs
One-way trafficReturn pathRemote routes and policiesFix the missing return route or ruleBidirectional tests
No tunnel through NATNAT traversalNAT-T and upstream UDP handlingEnable NAT-T and permit required trafficIKE logs
Intermittent disconnectsLink or peer healthDPD and network stabilityReview DPD and upstream pathEvent logs
DNS names failDNS configurationClient DNS and reachable resolverSet an appropriate DNS serverName resolution tests
Large transfers stallMTU or MSSPacket size and fragmentationAdjust MTU or TCP MSSLarge-packet tests

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

Secure and maintain the VPN

Treat an IPsec VPN as a controlled network boundary, not as a reason to grant unrestricted access. Apply least-privilege policies, use unique credentials, and keep FortiOS and endpoint software updated. For remote access, use multifactor authentication where supported and remove accounts or certificates that are no longer needed.

Monitor tunnel availability, authentication failures, and unusual traffic. Document the peer details, protected subnets, cryptographic settings, and change history so administrators can compare configurations during an outage. Test configuration backups and recovery procedures before they are needed. BSNL VPN.ovpn File: How to Find, Verify, and Use One Safely

Recommendation

For most new deployments, use a route-based IPsec VPN with strong, mutually compatible cryptography, narrowly defined firewall policies, and explicit routes. Validate Phase 1, Phase 2, and end-to-end traffic separately, then monitor the tunnel and review access regularly.

© 2026 Northlight Network Notes · Northlight Network Notes LLC