Fortinet white logo
Fortinet white logo

VPN tunnel and script

VPN tunnel and script

This feature supports autorunning a user-defined script after the configured VPN tunnel connects or disconnects. The scripts are batch scripts in Windows and shell scripts in macOS. They are defined as part of a VPN tunnel configuration on FortiGate's XML format endpoint profile. FortiOS pushes the profile to FortiClient. When FortiClient's VPN tunnel connects or disconnects, the respective script defined under that tunnel executes. You can also configure these scripts directly on FortiClient by importing the XML configuration file.

VPN tunnel and script

VPN tunnel and script

This feature supports autorunning a user-defined script after the configured VPN tunnel connects or disconnects. The scripts are batch scripts in Windows and shell scripts in macOS. They are defined as part of a VPN tunnel configuration on FortiGate's XML format endpoint profile. FortiOS pushes the profile to FortiClient. When FortiClient's VPN tunnel connects or disconnects, the respective script defined under that tunnel executes. You can also configure these scripts directly on FortiClient by importing the XML configuration file.