ipsec VPN fortigate(2026)

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
| Decision | Option | Best fit | Main advantage | Consideration |
|---|---|---|---|---|
| VPN topology | Site-to-site | Connecting two networks | Network-to-network access | Requires settings at both peers |
| VPN topology | Remote access | Individual users connecting to a network | User-focused connectivity | Requires client and user configuration |
| Phase 1 mode | IKEv1 | Peer compatibility when required | Works with peers that need IKEv1 | Use only when compatibility calls for it |
| Phase 1 mode | IKEv2 | Compatible modern peers | Streamlined negotiation | Both peers must support matching settings |
| Peer address | Static IP | Peer has a fixed public address | Predictable peer identification | Address must match at both ends |
| Peer address | Dynamic IP | Peer address changes | Avoids relying on a fixed peer address | Requires suitable peer identification |
| Authentication | Pre-shared key | Simple peer authentication | Straightforward to configure | Must match and be stored securely |
| Authentication | Certificates | Certificate-based environments | Avoids shared-key distribution | Requires certificate setup and management |
Compiled November 2026; check the provider's site for current details.
| VPN | Obfuscation | From / month | Plan | Free plan | Refund | Alipay | UnionPay | Crypto | Website opens in China | Trustpilot | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Turn on manually Shadow | $2.49/mo | 27 months: $59.99 | Yes | 7 days | ✓ | ✓ | ✓ | ✓ | Official site blocked; our special link opens (4.4 s) | 4.2/5 (195 reviews) | |
| Turn on manually Obfuscated Servers / NordWhisper | $3.49/mo | 27 months: $94.23 | No | 30 days | ? | ✗ | ✓ | ✓ | ✗ Blocked | 4.2/5 (51,628 reviews) | |
| ✓ On by default all servers | $3.00/mo | 28 months: $84 | No | 30 days | ✗ | ✗ | ✓ | ✗ | ✗ Blocked | 4.4/5 (29,706 reviews) | |
| ✓ On by default Camouflage, with OpenVPN | See site | See site | No | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.3/5 (31,823 reviews) | |
| Turn on manually Stealth, free plan too | $2.99/mo | 12 months: $35.88 | Yes | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 2.1/5 (1,040 reviews) | |
| Turn on manually StealthVPN / OpenWeb | $12.50/mo | 24 months: $300 | No | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 1.3/5 (110 reviews) | |
| Turn on manually Shadowsocks, OpenVPN only | $2.03/mo | 40 months: $81.2 | No | 30 days | ✗ | ✗ | ✗ | ✗ | ✗ Blocked | 4.2/5 (11,033 reviews) | |
| Turn on manually selected servers | $2.19/mo | 28 months: $61.32 | No | 45 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.0/5 (24,178 reviews) | |
| Turn on manually switch to OpenVPN | $1.69/mo | 60 months: $101.55 | No | 31 days | ? | ? | ✗ | ✓ | ✗ Blocked | 4.4/5 (17,994 reviews) | |
| ✓ On by default TrustTunnel | $2.99/mo | 24 months: $71.76 | Yes | 30 days | ✓ | ✗ | ✓ | ✓ | Official site blocked; our special link opens (3.7 s) | 4.3/5 (290 reviews) | |
| Turn on manually QUIC / Shadowsocks / LWO | $5.61/mo | €5/mo | No | 14 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 3.2/5 (192 reviews) | |
| Turn on manually Stealth / WStunnel | $5.75/mo | 12 months: $69 | Yes | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.7/5 (13,355 reviews) | |
| Turn on manually Scramble, OpenVPN TCP | See site | See site | No | 30 days | ✓ | ✗ | ✗ | ✗ | ✗ Blocked | 4.4/5 (2,695 reviews) | |
| Not listed | $7.08/mo | 12 months: $84.99 | Yes | 30 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.
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)
| Approach | Route setup | Firewall policy | Best fit | Main consideration |
|---|---|---|---|---|
| Static routing | Add routes for remote subnets | Allow traffic between local and remote interfaces | Stable, known networks | Routes must reflect the remote networks |
| Dynamic routing | Exchange routes with a routing protocol | Allow traffic between local and remote interfaces | Networks with changing routes | Both peers need compatible routing |
| Interface-based VPN | Route traffic through the VPN interface | Reference the VPN interface in policies | Clear interface-level control | Requires correct interface and route references |
| Policy-based VPN | Match traffic in VPN policies | Define permitted traffic in policies | Designs built around traffic selectors | Selectors must match the peer |
| Narrow selectors | Specify only required subnets | Permit only required traffic | Tighter traffic scope | Both peers must agree on selectors |
| Broad selectors | Specify wider network ranges | Restrict access with firewall policies | Networks needing broader reachability | Policies should limit unnecessary access |
| Dedicated VPN policy | Use explicit VPN routes | Create a policy for VPN traffic | Easier policy review | Keep source, destination, and services precise |
| NAT exemption | Preserve original VPN traffic addresses | Exclude VPN traffic from source NAT | Site-to-site subnet communication | Check 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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 goal | Check first | Likely area | Useful action | Prevention |
|---|---|---|---|---|
| Tunnel does not establish | Peer address and authentication | Phase 1 settings | Compare settings at both peers | Keep a configuration record |
| Phase 1 succeeds, Phase 2 fails | Proposals and traffic selectors | Phase 2 settings | Match encryption, integrity, and selectors | Document agreed parameters |
| Tunnel is up, traffic fails | Routes and firewall policies | Forwarding configuration | Verify route, policy, and NAT handling | Review policies after changes |
| One subnet cannot reach the peer | Local and remote subnet definitions | Selectors or routing | Confirm subnet masks and routes | Keep subnet lists current |
| Intermittent connectivity | Peer reachability and negotiation logs | Link or negotiation stability | Review logs and confirm peer availability | Monitor tunnel status |
| Unexpected access across VPN | Firewall policy scope | Access control | Limit sources, destinations, and services | Review policies regularly |
| Key or credential exposure | Authentication configuration | Credential security | Replace the affected key or credential | Store secrets securely |
| Configuration changes are planned | Current configuration and dependencies | Change management | Back up and test changes | Maintain 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.