Skip to main content
ajk
Visitor III
February 18, 2026
Question

How to set default VPN Name on Remote Access tab

  • February 18, 2026
  • 1 reply
  • 240 views

Our organization has several VPN names available in a drop down list, but really...I just one to use a default one instead of having to go through the drop down and make a selection. Shoot, I'd be up for scripting it too if this app has a console mode.

    1 reply

    funkylicious
    SuperUser
    SuperUser
    February 18, 2026

    such a option can be found in EMS, its called Current Connection or in xml, <current_connection_name>NAME</current_connection_name>

    "jack of all trades, master of none"
    ajk
    ajkAuthor
    Visitor III
    February 18, 2026

    So, I don't think I have access to EMS as I'm just a user. Is there a console mode on the client/user where I can just pass in some arguments to connect to a specific VPN name?

    funkylicious
    SuperUser
    SuperUser
    February 18, 2026

    On the client/user, there is no console as far as i know.

    To access that setting, you would need to export the config from FortiClient, make the change to that param in the exported config file then import it back.

    https://docs.fortinet.com/document/forticlient/7.4.5/xml-reference-guide/38815/backing-up-or-restoring-the-configuration-file 

    "jack of all trades, master of none"