Gert,
using server side scripting, I can push *literally* anything I want to
the server via --push-peer-info and setenv UV_*
Example:
setenv UV_PING 10
setenv UV_PINGRESTART 60
My server side script allows the client to effectively configure
--keepalive (and a LOT more)
My guess would be to push some expected and custom variables to the
client at logon.
And the user can fend for themselves.
No --up .. no --issue
I guess something like --pull-peer-info would be suitable. That way,
what ever is received can be vetted.
If computers Did have sense of humour then you lot would probably have
gone insane by now.
On 20/12/2020 10:54, Gert Doering wrote:
Hi,
I find myself looking for a mechanism by which I could send informational
messages ("your cert expires in two weeks, go refresh!" - "your openvpn
client needs an upgrade") from the openvpn server to incoming clients.
Of course this should work with all connecting clients, that is, "text
clients", windows GUI, Tunnelblick, iOS Connect, Android.
As far as I am aware, there is no such mechanism today.
Do we want to make one?
From the server / openvpn core side, it could be something totally trivial:
push "info-msg hey there!"
... and the client would then either print this on the console
(if !management) or dump it to management, where the GUI/Tunnelblick
could pick it up and create a popup window.
What do you think?
gert
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel