Grg123
Good afternoon.
I'm using latest version of the server OpenVPN AC.
I read the documentation on the official website.
Tell me, is it possible to some how get hostname of the client for Windows or Linux witch Post-auth programming?
Is this feature available?
openvpn_inc
Hello Grg123,
What you can do in the post_auth script is get the public IP address of however this client contacted your VPN server to establish the VPN tunnel. You can then do a reverse lookup on that to get the public hostname of that public IP.
But no, you can't get the local hostname in post_auth. That information is not transmitted.
Kind regards,
Johan