[CentOS] PostgreSQL port accessible even though it should be blocked by firewall
Alexander Dalloz
ad+lists at uni-x.org
Mon Oct 29 19:18:17 UTC 2018
Am 29.10.2018 um 20:03 schrieb Frank Thommen:
> PostgreSQL is running in a docker container:
>
> $ docker ps
> CONTAINER ID IMAGE COMMAND
> CREATED STATUS PORTS NAMES
> 6f11fc41d2f0 postgres "docker-entrypoint..." 4
> days ago Up 4 days 0.0.0.0:5432->5432/tcp postgres
> $
>
>
> The various docker interfaces and virtual bridges are not assigned to
> any specific zone.
>
>
> Why is port 5432/tcp open?
You will see it if you check the netfilter rules with:
iptables -L -n -v --line -t filter
iptables -L -n -v --line -t nat
> frank
Alexander
More information about the CentOS
mailing list