Skip to main content
mattPVD
New Member
April 12, 2013
Question

SSL VPN Auto Connect?

  • April 12, 2013
  • 4 replies
  • 22396 views
Hi, I have a remote computer configured with the SSL VPN client on Windows 7. We use this computer for some off-site backup routines. Is it possible to make the VPN client auto connect via a script or scheduled task? Thanks, Matt

    4 replies

    Chris_Lin_FTNT
    Staff
    Staff
    April 15, 2013
    SSL VPN can be configured to automatically connect once a user login to Windows. It can also be configured to always try to reconnect. These can be configured from XML config file.
    mattPVD
    mattPVDAuthor
    New Member
    April 15, 2013
    Excellent, thanks! Can you point me towards any documentation for configuring this? Or at least where I might find this file?
    Chris_Lin_FTNT
    Staff
    Staff
    April 15, 2013
    You can find FortiClient technical document here: http://docs.fortinet.com/fclnt.html To save you time, the config you need to auto-connect is: <vpn> <options> <autoconnect_tunnel>your ssl connection name</autoconnect_tunnel> Then in the corresponding vpn connection, configure its user name, password, and make it keep-running: <connection> <name>your ssl connection name</name> <username>user name here</username> <ui> <show_remember_password>1</show_remember_password> <show_alwaysup>1</show_alwaysup> <show_autoconnect>1</show_autoconnect> </ui> <password>password here</password> <keep_running>1</keep_running>
    L_FTNT
    Staff
    Staff
    April 16, 2013
    In FCT 5.0.2 with FGT 5.0.2, the auto-connect needs to be enabled on FGT for SSL VPN (under VPN -> SSL -> Portal -> Enable Tunnel Mode) before you can use it. After it enabled, you will have an option from the FCT GUI and if you check it, you will get auto-connect - no need to write XML to configure this any more. LC
    mattPVD
    mattPVDAuthor
    New Member
    April 16, 2013
    Thank you!