Created on 12-21-2022 01:19 AM Edited on 08-22-2024 09:00 AM By Stephen_G
Description | This article describes how is the IPsec Tunnel ID behavior. |
Scope | FortiOS 7.0.1 and above. |
Solution |
In FortiOS 7.0.1 and above, each IPsec tunnel is identified by the tunnel ID. The tunnel ID is automatically assigned with the remote gateway IP address in phase 1 configuration.
For example :
show vpn ipsec phase1-interface
diagnose vpn ike gateway list vd: root/0
If there is any change in the configuration of the remote gateway in phase1, the tunnel ID will remain as first configured.
For example, the gateway of the same tunnel is now changed:
show vpn ipsec phase1-interface
diagnose vpn ike gateway list vd: root/0
Note that tun_id remained as 10.47.2.140. Flushing the tunnel will not make any difference. However, the tunnel should be working as intended as the tunnel ID is only used as an identifier.
If there is a need to change the tun_id to reflect the new gateway IP, choose one of the following steps:
Related article: Technical Tip: IPSEC VPN route shows a different gateway IP than a remote IP address |
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.