Tutorial: Configure Client-Side Scripting in Access Server
Overview
Access Server supports client-side scripting, which lets you push scripts to clients to automate actions when a VPN connection starts or ends.
For example, you can use:
An on-connect script to open a web page, map a network drive, or launch another workflow when the VPN connects.
An on-disconnect script to perform cleanup or other actions when the VPN disconnects.
With supported clients, scripts can use locally available interpreters and tools such as PowerShell, command-line shells, or Python when a Python interpreter is installed.
This tutorial shows you how to configure client-side scripting:
For groups in the Admin Web UI.
For individual users, groups, or default settings from the command line with
sacli.
For supported platforms, security considerations, and additional use cases, refer to: Access Server Supports Client-side Scripting
Client-side scripting is commonly used to automate connection workflows in secure remote access deployments.
Prerequisites
An installed Access Server.
A supported VPN client.
Admin Web UI access or console access with root privileges.
A script appropriate for the operating system where it will run.
A locally available script interpreter required by your script.