Created on 11-30-2021 09:45 AM Edited on 11-28-2024 11:52 PM By Jean-Philippe_P
Description |
This article describes how to configure FortiGate so Microsoft’s L2TP/IPSec VPN client configured on Windows 10 PC will have access to the network(s) behind FortiGate in a secure manner. When deploying L2TP/IPSec VPN between Windows 10 PC and FortiGate, it’s possible to run into issues (where the tunnel failed to come up), if not using 'VPN Proposals' supported by Windows 10. |
Scope |
FortiGate v6.2, FortiGate v6.4, FortiGate v7.0. |
Solution |
L2TP over IPSec can be deployed on FortiGate through CLI or GUI, it is advisable to follow the GUI configuration template on FortiGate (Under VPN -> IPSec Wizard -> VPN Setup).
Configuring L2TP over IPSec (GUI).
Step 1: Create a User Account:
A 'user account' is required on FortiGate for 'L2TP over IPSec' deployment.
Step 2: Create the VPN.
Go to the GUI Interface, VPN -> IPsec Wizard -> VPN Setup -> Remote Access -> Native -> Windows Native (fill in required information) and select 'Next'.
Note: Do not change the 'Subnet Mask' leave it as default. Review the newly created VPN and once okay, select 'Create'.
VPN Summary:
Note: The proposal used in phase1 (and phase 2) by the FortiGate wizard, should be supported by Windows. The deployment will NOT work if a proposal not supported by Windows 10 (or other Windows) L2TP/IPSec is chosen.
Step 3: Create L2TP/IPSec on Windows 10.
On Windows, select Start -> Settings -> Network & Internet -> VPN -> Add a VPN connection. Fill in the 'Add a VPN connection' tab using below screenshot as a guide. Select 'save' once done.
Note: 'Server name or address', is the IP address of the FortiGate WAN Interface.
Verification: Select connect under the newly created VPN, and it should connect and access the network behind FortiGate if everything is configured correctly.
Note that the IP specified under the Client Address Range of FortiGate is assigned to the PC.
Related document: |
Can you please provide the output of:
show vpn l2tp
show vpn ipsec phase1-interface
show vpn ipsec phase2-interface
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.