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

Marc Haber mh+systemd-devel at zugschlus.de
Thu Sep 26 06:19:37 UTC 2019


Hi Susant,

On Wed, Sep 25, 2019 at 05:56:23PM +0000, Susant Sahani wrote:
> On 22/09/19, 5:35 PM, "systemd-devel on behalf of Marc Haber" <systemd-devel-bounces at lists.freedesktop.org on behalf of mh+systemd-devel at zugschlus.de> wrote:
>     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?
> 
> Did you tried with KeepConfiguration=?

That is not yet in the Man Page on my system. Is it alreay there in
systemd 242?

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