Expected Behaviour:
I am running Pihole in a docker container on a debian 11 VPS system. This vps is wide open to the internet, so my pihole is an open dns resolver. Now i am trying to block all access to the vps with UFW, and only allow my home ip access. In a normal (not docker install) iw always worked, but for some reason docker install is still accessible as for instance SSH on 2929 is blocked.
Does docker overrule UFW or something like that?
Actual Behaviour:
pi-hole still accessible from other ips, ufw not blocking
Also portainer is still acessible from other ips:
**Anywhere ALLOW 45.x.x.x (my ip)
80/tcp DENY Anywhere
DNS DENY Anywhere
9000 DENY Anywhere
80/tcp (v6) DENY Anywhere (v6)
DNS (v6) DENY Anywhere (v6)
9000 (v6) DENY Anywhere (v6)
**