High Plains Science Notes
IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting
VPN

IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting

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

Odessa Lindqvist-Marwa
· 10 min read

An IPsec VPN on a FortiGate firewall creates an encrypted connection between networks or between a remote user and a private network. To set one up, configure compatible Phase 1 and Phase 2 parameters, add the required routes and firewall policies, then verify that the tunnel negotiates and passes traffic. FortiGate supports both site-to-site and remote-access IPsec VPNs, with configuration details varying by FortiOS version and network design.

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 common FortiGate IPsec VPN deployment options

OptionTypical usePeer requirementRouting approachMain consideration
Site-to-siteConnect office networksFortiGate or compatible IPsec peerStatic routes or dynamic routingMatch settings at both ends
Remote accessConnect individual usersVPN client or supported endpointClient routesRequires user authentication
Route-based tunnelFlexible network connectivityCompatible IPsec peerRoute through a tunnel interfacePolicies control traffic
Policy-based tunnelSimple, fixed traffic selectorsCompatible IPsec peerPolicies define protected trafficLess flexible for complex routing
IKEv1Interoperate with peers requiring IKEv1Peer configured for IKEv1Depends on tunnel designUse only when needed
IKEv2Modern peer negotiationPeer configured for IKEv2Depends on tunnel designBoth peers must support matching settings

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

IPsec protects IP traffic by authenticating the devices at each end of a connection and encrypting data as it travels across an untrusted network, such as the internet. A FortiGate can establish a tunnel with another FortiGate or with a compatible third-party firewall, router, or VPN client.

The two common use cases are:

  • Site-to-site VPN: Connects networks at separate locations, such as a branch office and a head office.
  • Remote-access VPN: Lets an individual user connect to a private network using a compatible client and an account or certificate.

An IPsec tunnel has two negotiation stages. Phase 1, also called IKE, establishes and authenticates the secure relationship between VPN peers. Phase 2 creates the IPsec security association that protects the selected network traffic. Both sides need compatible settings.

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

Information to prepare before configuration

Gather the network and security details before creating the tunnel. This reduces mismatches that can prevent negotiation or block traffic after the tunnel is up. Hkmc rndvpn hyundai net: Access, Login Help, and Safety Tips

For a basic site-to-site setup, you will usually need:

  • The public IP address or hostname of each VPN peer.
  • The local and remote subnet ranges that should communicate.
  • The authentication method, such as a pre-shared key or certificates.
  • Compatible IKE version and Phase 1 and Phase 2 proposals.
  • The WAN interfaces used to reach the peer.
  • A plan for routing traffic through the tunnel.
  • Firewall rules allowing the intended traffic.

Avoid overlapping local and remote subnet ranges. For example, if both sites use the same private subnet, routing cannot reliably distinguish which network a destination belongs to. Renumbering one side or designing an appropriate translation approach may be necessary.

Security settings should follow your organization’s policy and the capabilities of both peers. Choose current, mutually supported encryption and authentication algorithms, and use a strong, unique pre-shared key if that is the chosen authentication method.

Compare information to prepare before configuring a site-to-site tunnel FortiClient VPN for Windows 11: Download, Install, and Connect

ItemWhat to collectMust match the peer?Why it matters
Peer gatewayPublic IP address or hostnameYesIdentifies the remote endpoint
Local subnetNetwork address and maskCoordinate with peerDefines local protected traffic
Remote subnetNetwork address and maskCoordinate with peerDefines remote protected traffic
IKE versionIKEv1 or IKEv2YesEnables compatible negotiation
AuthenticationPre-shared key or certificateYesVerifies the peer
Encryption proposalEncryption and integrity algorithmsYesEstablishes compatible phase settings
DH groupAgreed Diffie–Hellman groupYesSupports key exchange
NAT statusWhether either peer is behind NATShare with peerAffects negotiation and traversal
Routing planStatic routes or dynamic routingCoordinate with peerDirects traffic into the tunnel

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

How to configure a site-to-site IPsec VPN

FortiGate provides a setup wizard in the web-based management interface, and administrators can also configure VPNs through the CLI. Menu names and available options can differ between FortiOS releases, so check the documentation for the installed version.

1. Create the VPN tunnel

In the FortiGate GUI, go to the IPsec VPN area and create a new tunnel. Select a site-to-site configuration, then enter the remote gateway address and the local WAN interface. Configure the authentication method and shared key or certificate as agreed with the peer.

Set the Phase 1 options so they match the remote device. These typically include: IPVanish Login: How to Sign In and Fix Common Problems

  • IKE version.
  • Encryption and integrity algorithms.
  • Diffie-Hellman group.
  • Authentication method.
  • Negotiation and lifetime settings.

Configure Phase 2 with the local and remote traffic selectors, also known as encryption domains. These should identify the subnets that are permitted to use the tunnel. Make sure the selectors agree with the peer’s configuration.

Configuration area What it controls Common mismatch symptom
Phase 1 Peer authentication and IKE security Tunnel fails to establish
Phase 2 Protected traffic and IPsec security Phase 1 is up, but Phase 2 fails
Routing Where packets are sent Tunnel is up, but traffic takes another path
Firewall policy Which traffic is permitted Traffic is dropped despite a working tunnel

2. Add routes and firewall policies

A tunnel alone does not automatically allow all traffic to flow. Add a route for the remote subnet through the IPsec interface, or configure dynamic routing if your design requires it.

Create firewall policies for traffic in both directions as needed:

  • From the local network to the VPN interface.
  • From the VPN interface to the local network.

Set the correct source and destination addresses, services, and security profiles for your requirements. Enable NAT only when your design calls for it. Ordinary site-to-site traffic commonly uses no NAT. Also confirm that policies on the remote peer permit the return traffic. Free VPN: How to Choose One That’s Safe and Useful

3. Configure remote access when needed

For remote-access VPNs, define how users authenticate and which internal resources they can access. Depending on the environment, authentication may use local users, a directory service, certificates, or a multi-factor authentication system.

Provide users with the correct FortiClient or other compatible client configuration. Restrict access to necessary networks and services rather than granting broad access by default. Consider split tunneling carefully: it can send only corporate traffic through the VPN, while a full tunnel routes all user internet traffic through the organization.

How to test the tunnel

After saving the configuration on both peers, check the FortiGate VPN monitor to see whether the tunnel is up and whether Phase 1 and Phase 2 are established. Then test traffic between specific hosts on the local and remote networks.

A useful verification sequence is: Is Cato a VPN? What Cato Networks Does and How Its Remote Access Works

  1. Confirm that each VPN peer is reachable over the WAN.
  2. Check the tunnel status and negotiation details.
  3. Confirm that the route to the remote subnet points to the VPN.
  4. Review firewall policy counters while generating test traffic.
  5. Test from a host in each protected subnet, not only from the FortiGate itself.

An “up” tunnel does not prove that end-to-end traffic works. The route, selectors, host firewalls, and policies on both sides must all permit the intended connection.

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

Troubleshoot common FortiGate IPsec VPN symptoms

SymptomLikely areaFirst checkUseful FortiGate checkNext step
Tunnel stays downIKE negotiationPeer address and reachabilityCheck VPN tunnel statusCompare IKE versions and proposals
Authentication failsPeer identity or credentialsPre-shared key or certificateReview IKE logsConfirm matching authentication settings
Phase 1 is up, Phase 2 is downPhase 2 negotiationSelectors and proposalsInspect IPsec SA statusAlign subnets and phase 2 settings
Tunnel is up, no traffic passesPolicies or routingFirewall policies and routesCheck route and policy lookupPermit the traffic and correct routing
Only one direction worksReturn path or selectorsRoutes and traffic selectorsReview counters and logsCheck both peers’ routes and selectors
Tunnel drops intermittentlyLink or rekey behaviorWAN stability and rekey settingsReview event logsCompare timers and inspect link health

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

Troubleshooting common FortiGate IPsec VPN problems

Start with the stage where the failure occurs. If Phase 1 is down, focus on peer reachability, authentication, and IKE settings. If Phase 1 is up but Phase 2 is down, compare the traffic selectors and Phase 2 proposals. If both are up but applications fail, investigate routes, firewall policies, NAT, and endpoint firewalls. Sslvpn poscoenc.com: How to Find and Access the POSCO E&C VPN

Common checks include:

  • Confirm that the remote peer IP address and WAN interface are correct.
  • Check that both peers use the same IKE version and compatible proposals.
  • Verify the pre-shared key or certificate and the peer identity settings.
  • Compare local and remote subnet definitions on both ends.
  • Ensure routes point to the VPN and do not conflict with more specific routes.
  • Review firewall logs and policy hit counters for denied traffic.
  • Check for overlapping subnets or unexpected NAT.
  • Confirm that intermediate networks allow the required IPsec traffic, commonly UDP 500 and UDP 4500 for IKE and NAT traversal.

FortiGate’s VPN monitor, event logs, and IPsec diagnostics can help reveal negotiation errors. CLI diagnostic commands are also available, but command syntax and output can vary by FortiOS version. Use version-specific Fortinet documentation, and avoid leaving verbose debugging enabled longer than needed.

Recommendation

For a reliable IPsec VPN FortiGate deployment, document the peer addresses, subnets, proposals, routes, and policies before configuring either device. Match settings carefully, apply least-privilege access rules, and test real traffic in both directions. For production networks, use current FortiOS guidance and have both VPN endpoints reviewed together, especially when connecting FortiGate to a third-party device.

© 2026 Sagebrush Field Media · Sagebrush Field Media LLC