Swarm mode is great, but I haven't found a good resource yet on how it alters firewall rules. I've been trying to deploy it to a DO droplet using Ansible and whenever I start throwing in ufw rules it overrules those. Ports that should be closed are suddenly open.
And when I use iptables I cannot even start a new swarm when I block some traffic on an Ethernet device that shouldn't even be used by docker..
Anyone have more experience with this?
I'm almost tempted to go to AWS so I don't have to deal with the firewall on the machine itself.