I am using UFW for setting my firewall rules.
But docker keeps overridding them in iptables openning all ports that have been mapped from the containers to the host.
I want to have access only to two ports in a docker container from outside but block access the other docker containers ports and allow only localhost access for them (after ssh tunnel).
Any solutions apart from iptables=false?