Run a Powershell script on Forticlient vpn connection
Hi,
In my company we are using IP ranges that may conflict to the ones the client user is using while teleworking from home (192.168...)
The users are connecting to VPN using Forticlient. I would like to identify the connection/disconnection event so when the user connects to the vpn it runs a script to update his local routing tables to avoid conflicts, and when it disconnects, it restore them back.
Is there a way to automate this script running from Fortigate/Forticlient itself? If not, Is there any event log or some way to trigger the scripts.
Thanks,
Albert

