Installation yum -y install https://as-repository.openvpn.net/as-repo-centos7.rpm yum -y install openvpn-as useradd -d /home/francis francis useradd -d /home/openvpn openvpn passwd francis passwd openvpn Change the Admin and Client Ports Install Fail2ban Update OpenVPN-as: yum update |
Allow the choice between several profiles Open cmd.exe with administrative privileges. Run the following 2 commands: (if you have 32 bits Windows, leave out the " (x86)" part): cd "C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\core" capicli -k basic_client -v false SetPreference |
Optional: Forwarding ports to a local VM running OpenVPN-AS
Bash:
|
Google Authenticator # cd /usr/local/openvpn_as/scripts # ./confdba -us -p <username> # Retrive current user properties # ./confdba -u -m -k pvt_google_auth_secret_locked -v false -p <username> # Disable Google Auth for User |