Created on 12-04-2009 02:41 AM Edited on 08-08-2024 01:54 PM By Jean-Philippe_P
Description
This article describes that in the FortiOS firmware, a VPN interface name is limited to 15 characters.
This article will help to best utilize IPsec VPN phase_1 naming.
Scope
FortiOS.
Solution
When creating an IPsec tunnel, there is a character limit for the Phase 1 Interface name on the FortiGate. The IPsec VPN interface name is limited to 15 characters.
Below are a few scenarios on how this character limit works:
Consequences for dynamic phase1 users using interface mode:
The IPsec dialup interface name will be named <phase1>_n. With 'n' as the index of the tunnel and the dialup name limited to 15 characters or less.
If the phase1 IPsec dialup interface name is 14 characters long or more, any tunnel will fail.
For example: Tunnels_with15.
The Tunnels_with15_0 and/or Tunnels_with15_1 interface names will have more than 15 characters.
If the phase1 IPsec dialup interface name is 13 characters long, the 11th tunnel will fail.
For example: Tunnels_with1.
The Tunnels_with1_10 and/or Tunnels_with1_11 interface names will have more than 15 characters.
If the phase1 IPsec dialup interface name is 12 characters long, the 101th tunnel will fail.
For example: Tunnels_with.
The Tunnels_with_100 and/or Tunnels_with1_101 interface names will have more than 15 characters.
For an ADVPN scenario, where the HUB needs to have net-device disabled,d and spoke need the net-device to be enabled for shortcut tunnels.
Hub can have the dialup IPsec VPN's name to up to 15 characters and spokes can connect to it without any issue.
However, Spoke should have the IPsec VPN's name to at most 13 characters, which allows the creation of at most 10 shortcut tunnels and the 11th shortcut will fail.
The below ike debug shows an IPsec tunnel with net-device enables exceeding the 15-character limit:
ike 0:ca-yvr-ipsec-tn: could not create dialup name ca-yvr-ipsec-tn_0, too long
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.