I need to make an bash script on Linux that connects into an VPN, processes some tasks, and then disconnects.
To connect to the VPN I use the forticlient ssl vpn (like fortinet but for VPN instead). For example:
./forticlientsslvpn_cli --server 172.17.97.85:10443 --vpnuser forti
Does any know the how to then disconnect from a script afterwards?