FortiGate L2TP: Setup, Security, and Alternatives
Learn how FortiGate handles L2TP over IPsec, what to configure, and when to choose a more secure VPN alternative.
FortiGate L2TP usually refers to using Layer 2 Tunneling Protocol with IPsec to provide remote-access VPN connectivity. L2TP creates the tunnel, while IPsec protects the traffic. Whether this setup is appropriate depends on your FortiGate model, FortiOS version, client operating system, and security requirements. Check the current Fortinet documentation before implementing it, because supported options and configuration steps can change between releases.
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 remote-access options for a FortiGate environment
| Option | Best fit | Client support | Security considerations | Operational effort |
|---|---|---|---|---|
| FortiGate L2TP/IPsec | Legacy clients or existing deployments | Depends on client platform | IPsec protects the tunnel; L2TP itself does not encrypt traffic | Moderate |
| FortiClient IPsec VPN | Managed FortiGate users | FortiClient and supported IPsec clients | Supports IPsec-based protection | Moderate |
| SSL VPN | Remote access where supported by the FortiGate model and software | FortiClient or supported browser-based access | Use current software and strong authentication | Moderate |
| WireGuard | Environments with compatible gateways and clients | WireGuard-compatible clients | Modern VPN protocol; deployment depends on platform support | Varies |
| Cloud-managed VPN | Teams using a compatible cloud service | Service-specific clients | Security controls depend on the provider and configuration | Lower gateway management |
| Zero-trust access | Application-level access without broad network access | Compatible client or browser | Can limit access to specific applications | Requires policy planning |
Compiled November 2026; check the provider's site for current details.
What FortiGate L2TP means
L2TP is a tunneling protocol. On its own, it does not encrypt data, so an L2TP remote-access connection should be protected by IPsec. The combined setup is commonly called L2TP over IPsec.
A typical connection involves:
- A remote device with an L2TP/IPsec client.
- A FortiGate acting as the VPN gateway.
- IPsec security settings that both sides can negotiate.
- Authentication for the VPN user, such as a local account or a supported authentication service.
- Firewall policies that permit approved VPN traffic to reach internal networks.
Do not assume that every FortiGate release offers the same L2TP configuration workflow. Some environments may require specific interfaces, authentication settings, or command-line configuration. Confirm that your intended design is supported for your exact FortiOS build.
When to use it, and when not to
L2TP over IPsec may be useful when existing devices already support it and you need a compatible remote-access option. It can also be relevant in environments that have legacy configurations or client requirements. FortiGate VPN Client: Setup, Configuration, and Troubleshooting
However, L2TP is an older VPN approach. It may be less convenient to deploy and troubleshoot than a VPN option designed for the current FortiGate release. It can also be affected by network restrictions, particularly when a client is behind NAT or a firewall blocks the required IPsec traffic.
| Option | Typical use | Key consideration |
|---|---|---|
| L2TP over IPsec | Compatibility with devices or existing setups | Requires coordinated L2TP and IPsec settings |
| FortiClient IPsec VPN | FortiGate remote access using IPsec | Client and gateway configuration must match |
| FortiClient SSL VPN | Remote access where SSL VPN is supported | Availability and behavior depend on FortiOS version and platform |
This comparison is a general guide, not a guarantee of feature availability. Review the current Fortinet compatibility and configuration guidance before choosing a method.
Check these items before configuring FortiGate L2TP
| Planning item | What to verify | Why it matters | If it is not ready |
|---|---|---|---|
| FortiOS version | L2TP/IPsec support and configuration syntax | Features and menus can vary by release | Consult release-specific guidance |
| Client compatibility | L2TP/IPsec support on each client | Some platforms restrict or omit L2TP | Choose another supported VPN option |
| Authentication | User accounts, groups, and authentication method | Determines who can connect | Set up and test access controls |
| Address allocation | Client address range and overlap with LANs | Overlap can prevent routing | Select a non-overlapping range |
| Firewall policies | Rules from VPN clients to intended resources | A tunnel alone does not grant network access | Add narrowly scoped policies |
| Routing and DNS | Required routes and internal name resolution | Users may connect but fail to reach services | Configure and test both |
| IPsec parameters | Compatible proposals and shared settings | Mismatches can block tunnel negotiation | Align gateway and client settings |
| External reachability | WAN access and any upstream NAT or filtering | IPsec traffic must reach the FortiGate | Check upstream rules and connectivity |
Compiled November 2026; check the provider's site for current details. Best Free VPN Where You Can Choose Location: What to Look For
Configuration planning
Before configuring an L2TP/IPsec service, gather the information needed by both the administrator and the users. A small planning checklist can prevent common connection failures.
Define the network and authentication
Decide which internal networks remote users need to reach, and allocate a VPN address range that does not overlap with the networks users may connect from. Plan how users will authenticate and how access will be limited to authorized accounts.
Also identify:
- The FortiGate’s public-facing address or hostname.
- The IPsec proposals and other parameters supported by the client and FortiOS version.
- The required VPN protocols and ports through upstream routers or firewalls.
- DNS servers and search domains remote users need.
- The firewall policies and routes required for access to internal resources.
Use the narrowest practical access scope. A remote-access tunnel should not automatically grant broad access to the entire corporate network. Free VPN Choose Location: How to Pick a Server Safely
Configure and test in stages
Follow the Fortinet guide for your specific FortiOS release rather than copying configuration from an unrelated version. Where the platform supports the required design, configure the IPsec protection, user authentication, address assignment, and access policies as separate, verifiable parts.
Test first with one approved account and a single client. Confirm that the VPN establishes, that the client receives the expected network settings, and that only permitted services are reachable. Then test from a network outside the office, including a NATed connection if that is a likely user scenario.
Common connection problems
A failure to connect does not necessarily mean the password is incorrect. Troubleshoot from the outside inward and compare the client configuration with the FortiGate settings.
Common causes include: OVPN Explained: What It Is and How to Use It
- A mismatch in IPsec proposals, authentication method, or shared-secret settings.
- Incorrect user credentials or an account that is not authorized for VPN access.
- Required IPsec traffic being blocked by an upstream device or local firewall.
- Overlapping VPN and local network address ranges.
- Missing firewall policies, routes, or DNS settings after the tunnel connects.
- Client behavior that differs by operating system or software version.
Separate tunnel-establishment problems from traffic problems. If the tunnel does not establish, check reachability, negotiation settings, and authentication. If it connects but users cannot reach resources, inspect address assignment, routes, firewall policies, and DNS.
Use FortiGate logs and diagnostic tools appropriate to your FortiOS version. Avoid publishing logs, configuration exports, public IP addresses, usernames, or shared secrets when asking for help. Redact sensitive details first.
Troubleshoot and maintain a FortiGate L2TP deployment
| Symptom or task | Check first | Practical response | Ongoing safeguard |
|---|---|---|---|
| Tunnel will not establish | Credentials and IPsec settings | Confirm client and FortiGate parameters match | Keep configuration documented |
| Authentication fails | Account status, group membership, and method | Verify the user can authenticate locally | Review access regularly |
| Connected, but resources are unreachable | VPN policies, routes, and address overlap | Test access to a specific internal host | Limit policies to required services |
| Internal names do not resolve | DNS settings and client DNS behavior | Provide reachable internal DNS servers | Test name resolution after changes |
| Some traffic uses the wrong path | Client routes and split-tunnel settings | Check which destinations use the VPN | Document intended traffic paths |
| Connections fail from a remote network | NAT, filtering, and IPsec reachability | Test from another network and inspect logs | Monitor relevant VPN events |
| Vulnerabilities or compatibility concerns | FortiOS and client software status | Apply supported updates or migrate | Reassess whether L2TP remains necessary |
| Deployment no longer fits requirements | Client support and security needs | Compare supported alternatives for the environment | Plan and test migration before retiring L2TP |
Compiled November 2026; check the provider's site for current details. Proton Free VPN: What You Get and Whether It’s Worth Using
Security and maintenance
Treat L2TP over IPsec as a managed security service, not simply a client setting. Use strong, unique credentials and protect any shared secrets. If the design permits, use individual accounts and multifactor authentication through a supported authentication method rather than relying on a shared account.
For ongoing protection:
- Keep FortiGate firmware and VPN clients supported and up to date.
- Restrict VPN access to users who need it.
- Apply least-privilege firewall policies to VPN traffic.
- Review authentication and VPN logs for unexpected activity.
- Remove accounts and permissions promptly when access is no longer needed.
- Test configuration changes with a limited group before broad deployment.
Recommendation
Use FortiGate L2TP over IPsec only when your FortiOS version supports the required setup and you have a clear compatibility reason to choose it. For a new deployment, first compare the remote-access VPN options currently recommended for your FortiGate platform, then select the one that offers the right client support, security controls, and maintainability.

