How To List Openvpn Clients?

Home » CentOS » How To List Openvpn Clients?
CentOS 4 Comments

I’m running an openvpn server on a CentOS machine –
that is my excuse for posting my query here –
and I’m wondering if there is some way of finding all the clients (not just those connected at this moment)
who have been registered as clients of the openvpn server?

4 thoughts on - How To List Openvpn Clients?

  • John Doe wrote:

    Thank you very much. I did actually set this in server.conf, and the list I am seeking is in fact in the place specified.

  • All users should have a key in /etc/openvpn/easy-rsa/2.0/keys So that might be one source of usernames.

    Also look through /etc/openvpn/server.conf . There might be a line which verifies usernames, for example, from the OpenVPN 2 Cookbook:
    tls-verify /etc/openvpn/cookbook/ so you’d need to look at that file and

    There are other possibilities that list all allowed users. See the Cookbook.

  • This list will only include the usernames of those who have logged in as openvpn clients. There may be others who can log in but have not as yet. That’s why I suggested looking at the keys.