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

Marc Haber mh+systemd-devel at zugschlus.de
Sat Sep 21 07:12:01 UTC 2019


Hi,

On Mon, Sep 16, 2019 at 12:54:23PM +0200, Marc Haber wrote:
> 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.
> 
> Dumping a tun0.network containing:
> [Match]
> Name=tun0
> 
> [Network]
> Domains=~ka51.zugschlus.de
> DNS=2a01:238:4071:3281::35:100
> DNS=2a01:238:4071:328e::35:100
> DHCP=no
> IPv6AcceptRA=no
> 
> into /e/s/n doesn't work since that clears up the IP addresses that
> OpenVPN has correctly assigned.

No hints? Is this behavior - maybe - a bug?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the systemd-devel mailing list