Run a Powershell script on Forticlient vpn connection
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.
-- Do it or not, there is no try....in production environments. --
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.