Hostname of connecting client

How to customize and extend your OpenVPN installation.

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

Post Reply
thhart
OpenVpn Newbie
Posts: 7
Joined: Tue Oct 06, 2015 7:44 am

Hostname of connecting client

Post by thhart » Sat Dec 07, 2019 8:11 pm

We are sharing certificates for clients. Is there any way to receive the hostname of the client in the server connect script? We use the common_name currently, but this is the same if shared the certificate of course. A wild hack would be to dive into the host (ssh) when connected but this is really a dirty hack.

Any hints?

Thanks Thomas

Post Reply