Fresh install of Ubuntu 22.04, LXD via snap, containers cannot reach the internet

It could be that ESTABLISHED connections are not allowed. I’d first try a wide sudo iptables -I DOCKER-USER -j ACCEPT and it if works, I’d work my way from there.