| Description | This article describes how to check the IPv4/IPv6 addresses assigned dynamically to the IPSec VPN client after configuring the client address for the remote access IPSec VPN. |
| Scope | FortiGate. |
| Solution |
To configure the IPSec dial-up tunnel the following KB articles can be followed:
Option 1:
In the debug field, the following sample reports will appear for IPv4/IPv6 address and DNS assignment for the remote VPN client according to the client address configuration.
IPv4:
IPv6:
If the tunnel is being configured for the FortiClient and the client does not receive the IPv6, follow the steps outlined in Technical Tip: Not receiving an IPv6 address from Dialup IPsec tunnel on FortiClient.
Option 2:
Under Log & Report -> System Events -> VPN Events, apply a filter and set 'Remote IP' to the user's public IP address, then look for 'Assigned IP' in the tunnel-up log.
Option 3:
Another option to have the user and the IP address assigned to the tunnel is to run the following commands:
For IKEv1:
FGT# get vpn ike gateway | grep "xauth-user\|assigned"
For IKEv2:
FGT # get vpn ike gateway | grep "eap-user\|assigned" |
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 2026 Fortinet, Inc. All Rights Reserved.