Description: Some customers ask for a list of VPN Clients connected in real-time. Follow the steps below to output a list of usernames for current VPN users.
- Install the Linux jq tool:
apt -y install jqOn Centos/RHEL:
yum install jq -y
- From the /usr/local/openvpn_as/scripts directory, run this command, as root:
./sacli VPNstatus | jq '. | .client_list'
- The output displays the usernames of the currently connected VPN users. If no results return, there aren't current connections.
If you have additional questions, please submit a ticket.