LAN IP: 172.16.30.6
Log in to OpenVPN server via SSH (putty) using root credentials (root / CM#.......)
Use the follow commands
root@openvpnas2: cd /usr/local/openvpn_as/scripts/
root@openvpnas2: ./sacli -u <username> GoogleAuthRegen
To disconnect user:
root@openvpnas2: cd /usr/local/openvpn_as/scripts/
root@openvpnas2: ./sacli -u <username> DisconnectUser
Manually unlock a user from the CLI
Connect to your Access Server console and get root privileges.
-
Change your directory to use the sacli tool.
cd /usr/local/openvpn_as/scripts/
-
Run these commands to set the lockout to one second, wait two seconds, and then set it back to the default value of 15 minutes. (If desired, modify the command for your preferred lockout time.)
./sacli --key "vpn.server.lockout_policy.reset_time" --value "1" ConfigPut
Manually unlock a user from the CLI
Connect to your Access Server console and get root privileges.
-
Change your directory to use the sacli tool.
cd /usr/local/openvpn_as/scripts/
-
Run these commands to set the lockout to one second, wait two seconds, and then set it back to the default value of 15 minutes. (If desired, modify the command for your preferred lockout time.)
./sacli --key "vpn.server.lockout_policy.reset_time" --value "1" ConfigPut ./sacli start sleep 2 ./sacli --key "vpn.server.lockout_policy.reset_time" --value "900" ConfigPut ./sacli start
-
The locked-out user can sign in again.