Hi OpenVPN
Would it be possible to modify the post_auth script to read the machine unique ID instead of the MAC address?
For example:
cat /var/lib/dbus/machine-id
Then check & and save this data on first successful login instead of the MAC? It would be a script running on the Client device after successful authentication.
Thanks
OpenVPN UUID filtering
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: OpenVPN UUID filtering
The peer info reported by the OpenVPN protocol is hardcoded into OpenVPN. Technically if you fork from OpenVPN and build your own client you can do that. So the answer is sort of a no, unless you wanna put a developer on this. But then you'd only be able to achieve this with the open source core and you'd then also need to build your own Windows, macOS, Linux, etc... client programs.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: OpenVPN UUID filtering
As an addendum, I would recommend against doing this.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.