OpenVPN UUID filtering

Post Reply
stevev
OpenVpn Newbie
Posts: 2
Joined: Thu Aug 22, 2019 9:09 am

OpenVPN UUID filtering

Post by stevev » Wed Sep 04, 2019 10:53 am

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

novaflash
I should be on the dev team.
Posts: 978
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN UUID filtering

Post by novaflash » Wed Sep 04, 2019 5:29 pm

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.

novaflash
I should be on the dev team.
Posts: 978
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN UUID filtering

Post by novaflash » Wed Sep 04, 2019 5:30 pm

As an addendum, I would recommend against doing this.

Post Reply