Docker on the Proxmox host: published ports pass the firewall
A port published by Docker on the Proxmox host stays reachable even with a Proxmox firewall rule that drops it. The rule is correct; the traffic simply never reaches the place where the rule is checked.
AtlasPVE · Tested on Proxmox VE 8.4.0 ·
This entry answers
- docker bypass proxmox firewall
- proxmox firewall not blocking docker port
- docker on proxmox host security
- docker published port still reachable
- docker-user chain proxmox
Docker was installed directly on the Proxmox host, a container published a port, and a firewall rule was written to close that port. The port still answers. Nothing is broken; the two tools work at different points of the packet's path.
What we measured
On a Proxmox VE 8.4 test host on 9 November 2026 the firewall was switched on and a drop rule was written for port 8088 at the node level. A container published 8088. A request from another computer still returned HTTP 200. A drop rule for the comparison port 8089 worked as expected.
Why the rule never sees the traffic
The Proxmox host rules filter traffic addressed to the host itself. Docker publishes a port by rewriting the destination of incoming packets to the container's address before that check. From then on the packet is traffic passing through the host, not traffic for the host, and the host rule is not consulted.
This is documented Docker behaviour and not specific to Proxmox. The same happens with ufw or firewalld on any Linux server.
Three ways to close it
Run Docker inside a virtual machine or a container. This is what the Proxmox documentation recommends for application containers. The guest has its own network interface, and the Proxmox firewall on that interface filters it like any other guest. Docker's rewriting then happens inside the guest, behind the Proxmox rule.
Publish only to the local address. A port published as 127.0.0.1:8088:80 is reachable only from the host itself. A reverse proxy on the host can then decide who reaches it.
docker run -p 127.0.0.1:8088:80 nginxWrite the rule where Docker looks. Docker keeps a chain named DOCKER-USER for your own rules, checked before its own. A rule there stops traffic to published ports. It is managed outside the Proxmox firewall, so it does not show in the Proxmox rule list and has to be kept with the host's other configuration.
How to check a host
docker ps --format "{{.Names}} {{.Ports}}"A port shown as 0.0.0.0:8088->80/tcp is published on every address. Then test from another computer, not from the host:
nc -zv 192.0.2.10 8088If it answers while a Proxmox rule should drop it, the rule is not in the path.
What Atlas does
Atlas Guard, on the Network page, lists ports published by Docker on the host even when no program is listening on them, and marks them as passing the firewall. For these ports it does not offer to close them with the Proxmox firewall, because that rule would not work. The finding points to the container's port setting or the DOCKER-USER chain instead, and the outside test shows whether the port is reached from the network.
Atlas Guard is an administration tool for your own server. It does not try passwords and does not read data from the services it finds.
Sources
Proxmox's own documentation. In English, and it has the final word on this subject.