Openvpn command lines

NethServer Version: 7
Module: openvpn

Hi everybody, someone can provide me a guide to install openvpn command line and user configuration command lines, such as create user and certificates and download ovpn files?

thanks a lot.

Maybe the developer documentation is helpful:

Thanks markuz, I have not yet uninstalled my existing openvpn from the server. And I tried to create a user with pki-vpn-gencert (common name: user1@mydomain.com). But in the Openvpn Roadwarrier page the user is not listing.

pki-vpn-gencert error:

Certificate generated but following error at the last line,

failed to update database
TXT_DB error number 2
unable to load certificate

What was missing here?

thanks.

As NS7 is EOL, I’d recommend to use some other OpenVPN implementation, for example NethSecurity provides OpenVPN.

Example for adding a Roadwarrior system user in NS7:

db vpn set user@domain vpn-user OpenVpnIp '' VPNRemoteNetmask '' VPNRemoteNetwork '' status enabled

I couldn’t reproduce this error…