Is it possible to create an LXD network bridge that will only bridge one interface? I would like to start openvpn on the host (this will create tun0 interface), then start the container and all network requests are sent through the host’s tun0 interface. If openvpn dies, all networking on the guest dies (because it’s being bridged and if tun0 dies, it’s not possible for the guest to make network requests).
lxc network create lxdtun0 bridge.external_interfaces=tun0 and
lxc network create lxdtun0 tunnel.lan.protocol=vxlan tunnel.lan.interface=tun0, both of witch will send network requests to the host’s other interfaces if tun0 goes away.