openvpn-monitor icon indicating copy to clipboard operation
openvpn-monitor copied to clipboard

Feature request - Display certificate's user

Open pedropetz opened this issue 7 years ago • 5 comments

I'm running an OpenVPN server that has a policy to restrict one connection per user but I've got some users sharing certificates, which leads to competing for VPN connection. What I suggest was in the "Username" column show "LOGIN_USER / CERT_USER" for example user1 connects to the VPN and shows "user1/user1"

It's possible?

pedropetz avatar Oct 22 '18 12:10 pedropetz

Does this information show up in status 3 if you run telnet localhost 5555?

furlongm avatar Oct 22 '18 14:10 furlongm

Yes, it shows in the "CLIENT_LIST" and "Username" column

pedropetz avatar Oct 23 '18 15:10 pedropetz

Can you provide some sample output that shows different LOGIN_USER and CERT_USER?

furlongm avatar Oct 23 '18 16:10 furlongm

I realized that the column has a different name, "Common_Name" and "Username" In the TXT file example, user1 logged in using "user1" but with "user2" certificates. The normal case should be like "user3" that logged in and uses "user3" certificates. OpenVPN.txt

pedropetz avatar Oct 24 '18 10:10 pedropetz

So "Username" always matches "Common Name"?

furlongm avatar Nov 08 '18 18:11 furlongm