LXC Containers & UFW firewall on the LXD host

Most likely ufw is preventing outbound FORWARDed packets coming from LXD’s containers going via the lxdbr0 bridge and out onto the external network.

See Lxd bridge doesn't work with IPv4 and UFW with nftables for a possible solution.