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?
From: Timothy Murphy gayleard@eircom.net
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?
Did you configure ifconfig-pool-persist...?
JD
John Doe wrote:
From: Timothy Murphy gayleard@eircom.net
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?
Did you configure ifconfig-pool-persist...?
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.
On Tue, Oct 8, 2013 at 10:48 AM, Timothy Murphy gayleard@eircom.net wrote:
John Doe wrote:
From: Timothy Murphy gayleard@eircom.net
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?
Did you configure ifconfig-pool-persist...?
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.
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.
On Tue, Oct 8, 2013 at 10:09 AM, Timothy Murphy gayleard@eircom.net wrote:
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?
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/example6-5-tls-verify.sh so you'd need to look at that file and example6-5-tls-verfiy.sh.allowed
There are other possibilities that list all allowed users. See the Cookbook.