Page 1 of 1

OpenVPN UUID filtering

Posted: Wed Sep 04, 2019 10:53 am
by stevev
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

Re: OpenVPN UUID filtering

Posted: Wed Sep 04, 2019 5:29 pm
by novaflash
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.

Re: OpenVPN UUID filtering

Posted: Wed Sep 04, 2019 5:30 pm
by novaflash
As an addendum, I would recommend against doing this.