News:

The Latest electronic and computer Tips that work!

Main Menu

Set a new Password for OPENVPN

Started by branx86, May 09, 2025, 06:44:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

branx86

If you have access to the backend of your linux server and trying to setup OPENVPN-AS and cannot find the user name and password or the DNF or YUM did not produce one use

# cd /usr/local/openvpn_as/scripts/
# ./sacli --user "openvpn" --new_pass=<PASWWORD> SetLocalPassword


change<PASSWORD> to the password you would like.

To add a user use
# cd /usr/local/openvpn_as/scripts/
# adduser <USERNAME>
# ./sacli --user <USERNAME> --key "type" --value "user_connect" UserPropPut

# passwd <USERNAME>