When LXD starts, some rules are added to iptables to make the containers able to access the internet, and to communicate with the host.
In my case, I have many other custom rules, and the two play along without problems. However, at times I have the need to reset the firewall by clearing all the rules. This, of course, deletes the rules inserted by LXD as well.
Is there any way to have LXD reinsert those rules into the (now empty) firewall?
PS In case it matters: I am using LXC installed via snap as per these instructions.