[systemd-devel] networkd - how to (partially) manage OpenVPN interfaces?

Mantas Mikulėnas grawity at gmail.com
Thu Sep 26 06:56:43 UTC 2019


On Mon, Sep 16, 2019 at 2:14 PM Marc Haber <mh+systemd-devel at zugschlus.de>
wrote:

> Hi,
>
> when I run an OpenVPN interface, OpenVPN manages the interface itself:
> It handles creation, destruction and assignment of the IP address. The
> IP address can be controlled by the remote site, so the OpenVPN daemon
> is kind of the only thing that can configured the Interface.
>
> I would, however, like systemd-resolved to ask DNS servers that are
> reachable over the VPN for certain domains, such as ka51.zugschlus.de.
>
> [...]
>
> Can I have the advantages of systemd-resolved on an Interface that is
> not fully managed by systemd-networkd?
>

There are post-up scripts for OpenVPN which can load DNS configuration into
systemd-resolved:

https://github.com/jonathanio/update-systemd-resolved
https://packages.debian.org/sid/openvpn-systemd-resolved


-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190926/e980e93e/attachment-0001.html>


More information about the systemd-devel mailing list