Virtual Private Networks (VPN) OpenVPN
Digi TransPort WR Routers User Guide
207
Configure an OpenVPN server to use username and password
authentication
The OpenVPN server is able to authenticate clients using username and passwords. You can configure
up to 10 usernames and passwords. If you need more than 10 usernames and passwords, use RADIUS
authentication instead. See Configure an OpenVPN server to use RADIUS authentication for more
information.
Web
1. On the menu, click Network > Networks > OpenVPN and select OpenVPN Server. The
OpenVPN Server page appears.
2. Click Edit. The OpenVPN server page displays the settings for the OpenVPN Server.
3. Enter the Authentication settings:
n Certificate: Enter the name of the certificate to be used by the OpenVPN server.
n Private Key File: Enter the name of the private key file to be used by the OpenVPN
server.
n Authenticate By: Select User name and password.
4. Click Apply.
5. On the menu, click VPN and select OpenVPN User Management.
6. Click New OpenVPN User.
7. Enter user information:
n Username: The name of the OpenVPN client.
l Usernames can be up to 32 characters long and are case-sensitive.
l Usernames cannot start with a number.
n Password/Confirm Password: Password for the user.
8. Click Apply.
Command line
1. Configure the authentication mode to use username and password authentication.
digi.router> openvpn-server auth-by user-pass
2. Configure a user name and password. For example, to configure a username ny-office and
password abcdefgh, the commands would be.
digi.router> openvpn-user 1 username ny-office
digi.router> openvpn-user 1 password abcdefgh
3. Save the configuration.
digi.router> save config