Tutorial: Manually Edit Access Server Configuration Using ConfigReplace
You can upload Access Server configuration changes in one file using the command, ConfigReplace.
Overview
Access Server 2.10.1 and newer supports a command, ConfigReplace, which allows you to upload configuration changes in one file, and Access Server imports those changes to the correct configuration files.
The process is as follows:
Download the configuration to a single file.
Edit that file.
Replace the configuration with changes from the file.
Access Server updates the appropriate configuration files.
An installed and configured Access Server 2.10.1 and newer.
Console access and the ability to get root access.
Edit the file config.txt with your changes.
For example, you might change auth.module.type to pam or vpn.client.routing.reroute_gw to false.
Save your changes.
Replace the configuration:
cd /usr/local/openvpn_as/scripts/ ./sacli --value_file=config.txt ConfigReplace ./sacli start
Verify your configuration changes.
Alternatively, if you want to apply the configuration changes to a specific profile, use these commands for the third step, where you replace the configuration.