|
From: Ralf H. <Ral...@ch...> - 2025-08-08 09:43:18
|
> If you fully install 2.7_alpha3, you get a "dns-updown" script
> in the "libexecdir" (like, /usr/local/libexec/openvpn/dns-updown).
Yes: /usr/libexec/openvpn/dns-updown
> If there is *no* --up script set, OpenVPN will call said script
> (in the compiled-in location) automatically and it should do all the
> magic.
UUUUH. Awesome (if it works, that is)
> If --up is in use, we decided to not mess with people's pre-existing
> configurations - in that case, the DNS script is not run and "everything
> stays as it is".
Yes, don't mess with pre-existing configuration...
> If you have an --up script doing something else, and still want the new
> DNS script, use "--dns-updown force" ("always run the compiled-in script"),
> or if you want something else, use "--dns-updown /path/to/my/script.sh"
> (this will need --script-security 2).
I simply change my incantation. Will test this right away.
--
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
Invalidenstraße 120/121 | D-10115 Berlin
Tel. +49 30 450 570 155
ral...@ch...
https://www.charite.de
|