Page 1 of 1

OpenVPN client ID

Posted: Tue Jan 09, 2018 9:24 pm
by jfinnall
Hello,

Developing a Java web application on a Tomcat 8 server. All users must connect through OpenVPN to connect to the server. I would like to identify the user to log the activity. Users have an individual certificate through Easy-RSA and account authenticated from the LDAP server. How can I determine the identity of the user in my application?

Thank you for your consideration,
James

Re: OpenVPN client ID

Posted: Mon Mar 26, 2018 8:27 am
by ccociug
hello
you may use username-as-common-name and status /etc/openvpn/openvpn-status.log in server configuration and will have client data. From here you may create script to reload DNS.