Can I get a list of connected clients on openvpn (like "hamachi list"?)
Enable the management interface using --management
:
management /var/run/openvpn.mgmt unix
Connect to the socket, and use the status
or status 3
command:
# echo "status 3" | socat stdio /var/run/openvpn.mgmt