VPN软件免费版评测
VPN

ipsec VPN fortigate(2026)

阮星澜··11 min
IPsec VPN FortiGate: Setup, Configuration, and Troubleshooting

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

An IPsec VPN on a FortiGate firewall creates an encrypted connection between networks or remote devices. It is commonly used to connect two offices, link a branch to a data center, or provide remote users with secure access to internal resources. A working setup requires matching VPN settings at both ends, routes to the remote network, and firewall policies that permit the intended traffic.

**Core IPsec VPN configuration choices

DecisionOptionBest fitMain advantageConsideration
VPN topologySite-to-siteConnecting two networksNetwork-to-network accessRequires settings at both peers
VPN topologyRemote accessIndividual users connecting to a networkUser-focused connectivityRequires client and user configuration
Phase 1 modeIKEv1Peer compatibility when requiredWorks with peers that need IKEv1Use only when compatibility calls for it
Phase 1 modeIKEv2Compatible modern peersStreamlined negotiationBoth peers must support matching settings
Peer addressStatic IPPeer has a fixed public addressPredictable peer identificationAddress must match at both ends
Peer addressDynamic IPPeer address changesAvoids relying on a fixed peer addressRequires suitable peer identification
AuthenticationPre-shared keySimple peer authenticationStraightforward to configureMust match and be stored securely
AuthenticationCertificatesCertificate-based environmentsAvoids shared-key distributionRequires certificate setup and management

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 VPN peers and encrypting data as it travels across an untrusted network, such as the internet. FortiGate supports IPsec in several deployment types, but the two most common are:

  • Site-to-site VPN: Connects networks behind two VPN gateways, such as a headquarters and branch office.
  • Remote-access VPN: Connects an individual computer or mobile device to a private network, usually through a VPN client.

A typical tunnel has two negotiation stages. Phase 1, also called the IKE negotiation, authenticates the peers and establishes a secure control channel. Phase 2 negotiates the IPsec security association that protects user traffic. Both peers must agree on the relevant settings, including authentication, encryption, and, in many configurations, the networks permitted through the tunnel.

An established tunnel does not automatically mean that applications can reach the other network. Routing and firewall rules must also direct and permit the traffic.

ipsec VPN fortigate(2026): Checklist

Key Settings to Plan Before Configuration

Before configuring the FortiGate, identify the network details and agree on the security parameters with the administrator of the other VPN device. forticlient VPN for windows 11(2026)

For a site-to-site connection, gather:

  • The public IP address or hostname of each VPN gateway.
  • The local and remote private network ranges.
  • The authentication method, such as a pre-shared key or certificates.
  • Compatible Phase 1 and Phase 2 proposals.
  • The required IKE version, Diffie-Hellman group, and lifetimes.
  • Whether the tunnel should start automatically or only when traffic is sent.
  • Whether NAT traversal is needed, particularly when a peer is behind NAT.

Choose secure, mutually supported settings. Prefer IKEv2 where both ends support it, strong encryption and integrity algorithms, and a sufficiently long, unique pre-shared key when using pre-shared-key authentication. Avoid outdated algorithms and settings that exist only for compatibility unless a documented requirement makes them necessary.

Setting Phase 1 Phase 2
Purpose Authenticates peers and establishes the IKE security channel Protects traffic between the specified networks
Common items to match IKE version, peer identity, authentication, encryption, integrity, DH group Local and remote selectors, encryption, integrity, PFS settings
Typical failure symptom The peers cannot establish IKE Phase 1 is up, but the IPsec tunnel or data traffic fails

Exact labels and available options can vary by FortiOS version and deployment type. Confirm the negotiated settings at both ends rather than relying on similar-looking configuration names.

**Routing and firewall policy approaches is cato a VPN(2026)

ApproachRoute setupFirewall policyBest fitMain consideration
Static routingAdd routes for remote subnetsAllow traffic between local and remote interfacesStable, known networksRoutes must reflect the remote networks
Dynamic routingExchange routes with a routing protocolAllow traffic between local and remote interfacesNetworks with changing routesBoth peers need compatible routing
Interface-based VPNRoute traffic through the VPN interfaceReference the VPN interface in policiesClear interface-level controlRequires correct interface and route references
Policy-based VPNMatch traffic in VPN policiesDefine permitted traffic in policiesDesigns built around traffic selectorsSelectors must match the peer
Narrow selectorsSpecify only required subnetsPermit only required trafficTighter traffic scopeBoth peers must agree on selectors
Broad selectorsSpecify wider network rangesRestrict access with firewall policiesNetworks needing broader reachabilityPolicies should limit unnecessary access
Dedicated VPN policyUse explicit VPN routesCreate a policy for VPN trafficEasier policy reviewKeep source, destination, and services precise
NAT exemptionPreserve original VPN traffic addressesExclude VPN traffic from source NATSite-to-site subnet communicationCheck NAT rules if traffic fails

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

Basic Site-to-Site Configuration

FortiGate’s VPN wizard can simplify initial setup, while manual configuration offers more control over advanced settings. The interface and available wizard options vary by FortiOS release, but the main steps are consistent.

  1. Create the VPN gateway configuration. Select the internet-facing interface and enter the remote peer’s address or choose an appropriate dynamic-peer option. Set the IKE version and authentication method.
  2. Configure Phase 1. Choose compatible proposals and key-exchange settings. Add the pre-shared key or certificate details, and enable NAT traversal if required by the network path.
  3. Set Phase 2 selectors. Specify the local and remote network ranges that should communicate. Ensure these ranges match the intended networks at the other end. They must not conflict with one another.
  4. Add routes. Route the remote network through the IPsec interface or use the routing method appropriate to the design. In dynamic routing or SD-WAN deployments, follow the corresponding configuration rather than adding a conflicting static route.
  5. Create firewall policies. Permit traffic from the local network to the VPN interface and, where required, from the VPN interface back to the local network. Apply suitable inspection, logging, and address restrictions.
  6. Configure the other peer. The remote device needs compatible VPN parameters and the corresponding network definitions, routes, and policies.

For a remote-access VPN, the configuration also needs a user authentication method, such as a user group and supported identity provider, plus an address pool and access policies. Distribute the appropriate client configuration securely. Keep remote-user permissions limited to the networks and services they need.

Routing and Firewall Policies

A common configuration mistake is treating tunnel negotiation as the complete setup. IPsec encrypts traffic that matches the tunnel configuration, but FortiGate still needs to know where to send that traffic and whether to allow it. free clash(2026)

Check these items:

  • Routes: The route to the remote subnet must point to the IPsec tunnel or the correct routing interface.
  • Policies: Rules must allow the relevant source and destination networks in the correct direction. Return traffic must also be permitted by the policy design.
  • NAT: Site-to-site traffic usually should not be unintentionally source-NATed when the remote peer expects to see the original local addresses. Confirm whether NAT is required by the topology.
  • Selectors: The networks in Phase 2 must match the traffic and the peer’s configuration. A selector mismatch can prevent the appropriate security association from forming.
  • Overlapping networks: If both sites use the same private IP range, routing and access can be ambiguous. Consider renumbering or use a carefully designed address-translation approach.

Use narrowly scoped policies where practical. Avoid broad rules that expose entire internal networks when only a few hosts or services need access.

ipsec VPN fortigate(2026): Key points

Troubleshooting Common Problems

Troubleshoot from the outside in: check reachability, then Phase 1, Phase 2, and finally traffic handling.

Phase 1 will not come up: Verify that the peer addresses are correct and reachable, UDP ports 500 and 4500 are not blocked, and both sides use compatible IKE, authentication, and proposal settings. Check that the pre-shared keys or certificates and peer identities match. proton VPN extension for edge(2026)

Phase 1 is up, but Phase 2 is down: Compare the local and remote selectors, encryption and integrity proposals, and Perfect Forward Secrecy settings. A difference in any required Phase 2 parameter can prevent negotiation.

The tunnel is up, but traffic fails: Confirm the route, firewall policies, endpoint firewalls, and Phase 2 selectors. Check for unintended NAT and overlapping subnets. Test from a host that is actually within the configured local network.

The tunnel connects and then drops: Review peer logs and the negotiated lifetime, keepalive, and dead-peer detection behavior. Confirm that the internet connection is stable and that the devices agree on rekey settings.

FortiGate’s VPN status and event logs can reveal whether negotiation stopped at Phase 1 or Phase 2. For deeper diagnosis, administrators can use FortiOS diagnostic commands, but command syntax may change between releases. Capture only the relevant logs, protect any sensitive output, and disable temporary debugging after testing to avoid excessive logging. how to fix virgin tv go app not working with VPN(2026)

**Troubleshooting and maintenance decisions

Symptom or goalCheck firstLikely areaUseful actionPrevention
Tunnel does not establishPeer address and authenticationPhase 1 settingsCompare settings at both peersKeep a configuration record
Phase 1 succeeds, Phase 2 failsProposals and traffic selectorsPhase 2 settingsMatch encryption, integrity, and selectorsDocument agreed parameters
Tunnel is up, traffic failsRoutes and firewall policiesForwarding configurationVerify route, policy, and NAT handlingReview policies after changes
One subnet cannot reach the peerLocal and remote subnet definitionsSelectors or routingConfirm subnet masks and routesKeep subnet lists current
Intermittent connectivityPeer reachability and negotiation logsLink or negotiation stabilityReview logs and confirm peer availabilityMonitor tunnel status
Unexpected access across VPNFirewall policy scopeAccess controlLimit sources, destinations, and servicesReview policies regularly
Key or credential exposureAuthentication configurationCredential securityReplace the affected key or credentialStore secrets securely
Configuration changes are plannedCurrent configuration and dependenciesChange managementBack up and test changesMaintain backups and a change record

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

Security and Maintenance

A VPN is only as secure as its configuration and ongoing management. Use supported FortiOS releases, remove unused VPN accounts and tunnels, rotate pre-shared keys when appropriate, and review access policies periodically. For certificate-based setups, monitor certificate expiration and renewal.

Log VPN authentication events and investigate unexpected connection attempts. For remote access, use multifactor authentication where available and restrict user access by role. Document tunnel endpoints, networks, negotiated settings, and recovery contacts so the configuration can be maintained safely. bsnl VPN .oVPN file(2026)

Recommendation

For a new FortiGate IPsec VPN, use IKEv2 when supported, strong compatible cryptographic settings, precise network selectors, explicit routes, and narrowly scoped firewall policies. Verify Phase 1 and Phase 2 on both peers, then test real traffic in both directions. If negotiation still fails, compare the two configurations setting by setting and use FortiGate logs to identify the failing stage.

© 2026 青枫软件评测 · Qingfeng Software Review Ltd.