I found that these commands would solve:
sudo ufw allow 53
sudo ufw allow 67
sudo ufw default allow FORWARD
But I don't trust the last one in particular because I don't really know what it does due to my ignorance, so after the test I reset "deny", ...