| Description |
This article describes an issue when a remote user cannot connect to the dialup VPN from FortiClient and IKE debug outputs give the following error messages (outputs truncated). In this example, IKEv2 is being used.
Note: Starting from v7.4.1, the 'diagnose vpn ike log-filter' command has been changed to 'diagnose vpn ike log filter'.
FortiGate # diagnose vpn ike log filter rem-addr4 x.x.x.x <----- x.x.x.x is the client public IP FortiGate # diagnose vpn ike log-filter name Dialup FortiGate # diagnose debug disable ---------to disable the debugs ike 0: comes 192.168.10.2:500->192.168.10.1:500,ifindex=5,vrf=0.... <----- Connection started.
In the example above, 172.16.1.1 was assigned to the client. However, the 'Remote Address' under phase 2 selectors is 172.16.4.0/24, which does not include 172.16.1.1. Below is an example configuration on the GUI.
|
| Scope | FortiGate. |
| Solution |
To resolve this issue, make sure the 'IPv4 client address range' matches the 'Remote Address' under phase 2 selectors as shown below.
Note: It is also possible to set 'Local Address' and 'Remote Address' to 0.0.0.0/0.0.0.0.
After that, the client can connect.
Note:
config vpn ipsec phase2-interface edit <PHASE2_NAME_HERE> set encapsulation <tunnel-mode or transport-mode> next end
Related articles: |
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.