67-90
Cisco ASA 5500 Series Configuration Guide using ASDM
OL-20339-01
Chapter 67 Clientless SSL VPN
Customizing the AnyConnect Client
import the script myscript.bat, the script appears on the adaptive security appliance as
scripts_OnConnect_myscript.bat. On the remote computer, the script appears as
OnConnect_myscript.bat.
To ensure the scripts run reliably, configure all adaptive security appliances to deploy the same scripts.
If you want to modify or replace a script, use the same name as the previous version and assign the
replacement script to all of the adaptive security appliances that the users might connect to. When the
user connects, the new script overwrites the one with the same name.
Step 5 Select a file as the source of the script. The name does not need to be the same as the name you provided
for the script. ASDM imports the file from any source file, creating the new name you specify for Name
in Step 3.
Table 67-12 shows the locations of scripts on the remote computer:
Fields
Import—Launches the Import AnyConnect Customization Objects dialog, where you can specify a file
to import as an object.
Export—Launches the Export AnyConnect Customization Objects dialog, where you can specify a file
to export as an object.
Delete—Removes the selected object.
Platform—The type of remote PC platform supported by the object.
Object Name—The name of the object.
Modes
The following table shows the modes in which this feature is available:
Table 67-12 Required Script Locations
OS Directory
Microsoft Windows 7 and Vista %ALLUSERPROFILE%\Cisco\Cisco AnyConnect VPN Client\Scripts
Microsoft Windows XP %ALLUSERPROFILE%\Application Data\Cisco\Cisco AnyConnect VPN Client\
Scripts
Linux /opt/cisco/vpn/scripts
Note Assign execute permissions to the file for User, Group and Other.
Mac OS X /opt/cisco/vpn/scripts
Windows Mobile %PROGRAMFILES%\Cisco AnyConnect VPN Client\Scripts
Firewall Mode Security Context
Routed Transparent Single
Multiple
Context System
• — • ——