Public bug reported:

While systemd supports bringing up independent openvpn services, there
is currently no way of declaring these in netplan like it was in
/etc/network/interfaces.

Critically, it is no longer feasible to have such a device in a bridge
that is declared in netplan.

Related bugs:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1718227
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779340

As a workaround, it is possible to install networkd-dispatcher and add a
script in /usr/lib/networkd-dispatcher/routable.d/ with something like
the following:

#!/bin/sh
set -e
if [ "$IFACE" = tap0 ]; then
  brctl addif br1 tap0
  ip link set tap0 promisc on
  ifmetric tap0 5
fi

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779341

Title:
  Regression: netplan.io does not support managing OpenVPN bridges

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1779341/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to