Tutorial: Initialize or Reset Access Server with ovpn-init
Overview
ovpn-init is an initialization-only command-line tool included with OpenVPN Access Server. It's used to perform the initial configuration of a new installation or to reset an existing installation to factory defaults.
Use ovpn-init when:
Setting up Access Server for the first time on a cloud provider instance.
Performing a deliberate factory reset of an existing installation.
Prerequisites
A running instance of Access Server.
Console access with the ability to get root privileges.
A backup of your configuration (for resets).
For batch mode: Review and accept the EULA (
ovpn-init --view-eula).