Firewall
ufw, nftables and Docker ports
ufw, nftables and Docker ports
nft tool instead of four, one rule for IPv4 and IPv6, address sets inside the kernel, and a config that applies as a whole or not at all. On Ubuntu 24.04 it already runs under ufw and Docker, even if nobody has ever run nft. Write your own rules into your own table and leave the others’ alone.ufw enable. ufw doesn’t close ports that Docker publishes — close those by publishing on 127.0.0.1 or with the provider’s firewall.Entries from other topics that are about this too.