Hi guys, is there a way to reset the Docker-applied iptables rules to their default settings?
Context:
I was trying to configure ufw to only accept connections to the server from a couple of IP addresses on my LAN, and due to my lack of knowledge, I ended up breaking something.
I tried a few things I found on the web and then reverted them, but there's something wrong with the iptables rules that Docker applies when it starts, as I lose access from the LAN to the server.
It doesn't respond to ping, I can't access it via SSH, can't access casaOS web interface, or anything, even if I stop the iptables service (sudo systemctl stop iptables) and disable ufw (sudo ufw disable).
If I reboot the server, I can ping and SSH into it until Docker starts and applies the rules, at which point I lose access.