Configure OpenVPN Access Server
sudo passwd openvpn
sudo: runs the password changer as the superuser to avoid any permission issues.
passwd: changes the password for the specified username.
You will be prompted to enter a new (UNIX) password. Make this password strong and hard to guess. It will be used in the web interface to login.
Confirm the new password.
Begin configuring OpenVPN Access Server by entering
We will delete the existing default configuration by typing
If you’re not familiar with these type of text based installations, the default option is enclosed in brackets. Seeing [no] and pressing the enter key would mean you chose no. To change the option, you type-in the desired setting to change the option.
Accept the license agreement by typing
Answer these questions as follows:
Will this be the primary Access Server node? yes (default)
Please specify the network interface and IP address to be used by the Admin Web UI: all interfaces: 0.0.0.0
Please specify the port number for the Admin Web UI: 943 (default)
Should client traffic be routed by default through the VPN: yes (default)
Should client DNS traffic be routed by default through the VPN: yes (default)
Use local authentication via internal DB: yes
Should private subnets be accessible to clients by default: yes (default)
Please specify your OpenVPN-AS license key (or leave blank to specify later): **leave blank**
To close the SSH session, enter
OpenVPN Access Server is configured!