Skip to main content
arahman
Staff
Staff
July 9, 2025

Troubleshooting Tip: Unable to change Split tunnel address object in IPSec Dialup VPN gives error 'Can not change address members. Group is used by ipsec mode-cfg'

  • July 9, 2025
  • 1 reply
  • 5072 views
Description This article describes the troubleshooting steps when editing the Address group for split tunnel in dial-up IPsec VPN gives the error 'Can not change address members. Group is used by IPsec mode-cfg'.
Scope FortiGate v7.4.8.
Solution

When trying to edit the Address group for split tunnel in a dial-up IPsec VPN tunnel, it fails with the error 'Can not change address members. Group is used by IPsec mode-cfg', as shown below:

 

kb 25.2.PNG

 

kb 25.1.PNG

 

It is not possible to edit it via the CLI either. The following error will be displayed:

 

Can not change address members. Group is used by ipsec mode-cfg.    

object set operator error, -23 discard the setting

Command fail. Return code 1

 

This is because, from version 7.4.8, if the address group is referenced in Dial-up Tunnel, it cannot be edited.

 

As a solution, the split tunnel address group in the Dial IPSec VPN tunnel has to be changed to any other address group or select 'none', and then the address group should be edited and reinserted into the Dial-up IPSec VPN Tunnel.

 

kb 25.3.PNG

 

Or disable the 'Mode Config' in IPSec Dialup VPN tunnel phase-1, and then edit the address group, and then enable mode-cfg back in the phase-1:

 

kb 25.4.PNG

 

In this way, the address group for split tunneling in IPSec dial-up VPN tunnels can be edited without any issues.

Important Note: If the VPN is created via the VPN wizard, 'Mode Config' will not be visible in the GUI. It is possible to disable it in the CLI to apply the change. 

 

config vpn ipsec phase1-interface

    edit "VPNNAME" 

        set mode-config disable 

end

 

Mode config settings will disappear in the GUI when it is disabled in the CLI. 

 

After the address group is modified, enable the mode config back in the CLI. All settings will appear again in the GUI.

 

config vpn ipsec phase1-interface

    edit "VPNNAME" 

        set mode-config enable 

end

 

This behavior is present in v7.4.8+, in v7.6 or higher, the address group can be edited without the need to remove it from the IPsec configuration. 

 

This behavior will NOT be changed in 7.4. x version and in any further release of 7.4.x version. This behavior will only be changed in the v7.6 train.

 

Note:

Making the above changes will drop the IPsec Tunnel, so it is recommended to make these changes during maintenance time to avoid production issues.

 

To avoid downtime, another solution is to clone the Split Tunnel Address Group, then add the new subnet.


Rename the new address group depending on the user's requirement. Use the clone address group on the IPsec Remote Access Split tunnel address.

 

IPSEC.png

 

ipsec2.png

 

ipsec2.png

    1 reply

    lucas1337
    Explorer II
    May 6, 2026
    This document has already helped me.