Created on
‎02-23-2025
04:37 AM
Edited on
‎02-26-2025
05:56 AM
By
Anthony_E
| Description | This article describes how to change IPsec methods on FortiGate L2TP connections with Windows Client. |
| Scope | FortiGate, L2TP, IPsec. |
| Solution |
The Native Windows VPN client can be used to create a L2TP Dial-up IPsec connection with FortiGate. By default, Windows and FortiGate will use a pre-defined set of phase 1 and phase 2 methods for this connection. In some cases, it's required to change these methods for better security/compatibility.
Phase 2:
The example below will showcase how to restrict the Windows Native Client to use the following settings:
PS C:\> Set-VpnConnectionIPsecConfiguration -ConnectionName "FGTIPSEC" -AuthenticationTransformConstants SHA256128-CipherTransformConstants DES3 -EncryptionMethod DES3 -IntegrityCheckMethod MD5 -PfsGroup None -DHGroup ECP256 -PassThru -Force
diagnose vpn ike log-filter src-addr4 <Source address of the remote host machine>
For v7.4.0 and above, there is a slight change in command as below:
diagnose vpn ike log filter rem-addr4 <IPv4 remote gateway address range to filter by>
Related articles: Troubleshooting Tip: IPsec Tunnel (debugging IKE) Troubleshooting Tip: IPsec Tunnel (debugging IKE) Technical Tip: Increasing the stability of L2TP Technical Tip: Certificate Based Authentication Not Working for L2TP Tunnel |
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 2025 Fortinet, Inc. All Rights Reserved.