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.
- Tutorial: How to View the Current Server Configuration
- Tutorial: Change the Web Service Forwarding Settings
- Tutorial: How to Change the Web Session Timeout
- Tutorial: Set the Interface and Ports for the Web Services
- Tutorial: Specify Custom HTTP Headers
- Tutorial: Manage User and Group Properties from the Command Line
- Tutorial: How to Change the Authentication Mode in the Command-Line Interface
- Tutorial: How to Manage TOTP MFA from the Command Line
- Tutorial: Manage the Local Authentication Method from the Command-Line Interface
- Tutorial: Manage the LDAP Authentication Method from the Command-Line Interface
- Tutorial: Manage the RADIUS Authentication Method from the Command-line Interface
- Tutorial: Manage the SAML Authentication Method from the Command-line Interface
- Tutorial: How to Add Users to Your Access Server Using PAM
- Tutorial: Manage the PAM Authentication Method from the Command-line Interface
- Tutorial: How to Replace the Legacy openvpn Administrative Account
- Tutorial: Install a Signed SSL Certificate from the Command-line Interface
- Tutorial: How to Manually Regenerate Self-signed Certificates
- Tutorial: Harden the Web Server Cipher Suite String
- Tutorial: Change the Data-Channel Encryption Cipher
- Tutorial: Turn Off Encryption in Access Server
- Tutorial: Manage Token URLs from the Command-line Interface
- Tutorial: How to Adjust Access Server's Session Tokens
- Tutorial: Set the Threshold to Disconnect Inactive Clients
- Tutorial: Turn on OpenVPN DCO in Access Server
- Tutorial: An Intro to the sacli Command-Line Utility
- Tutorial: Manage Access Server Services via Command Line