Learn how to configure the firewall in Proxmox.
Learn how one can use nftables for implementing firewall rules, whilst using Docker. However, this will require Docker to run in host networking mode.
A cheatsheet for using nftables.
A cheatsheet for using the uncomplicated firewall (UFW).