ICX35-HWC ♦ Industrial Cellular Gateway
ICX35-HWC Tech Notes
3G/4G LTE
User Manual
ProSoft Technology, Inc.
Page 116 of 127
10.4
OpenVPN with Username and Password Authentication
10.4.1
Configuring the Username/Password as the Only Method of
Authentication
Configuring the Client
1
Enable
U
SER
/P
ASSWORD
A
UTHENTICATION
by checking the box.
2
Enter the
Username
and
Password
.
3
Provide the Certificate Authority file.
Note: The Client Certificate and Client Key files are not used with this type of authentication.
Therefore, this type of authentication is less secure than the default method using certificates.
Configuring the Server
1
Log into the Openvpn server.
2
Create a user by typing:
useradd <username>
3
Add a password to the new user:
passwd <username>
and enter the
password.
4
Edit the server configuration file by adding the following lines:
username-as-common-name
client-cert-not-required
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login