OpenVPN client ID

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
jfinnall
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 09, 2018 9:16 pm

OpenVPN client ID

Post by jfinnall » Tue Jan 09, 2018 9:24 pm

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

ccociug
OpenVpn Newbie
Posts: 2
Joined: Mon Mar 26, 2018 8:25 am

Re: OpenVPN client ID

Post by ccociug » Mon Mar 26, 2018 8:27 am

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.

Post Reply