Skip to content

Firewall

iptables

Firewall is managed with nftables/iptables.

Current policies:

ChainPolicy
INPUTACCEPT (Tailscale rules applied)
FORWARDDROP (Docker exceptions)
OUTPUTACCEPT

Docker adds rules for port publishing to the FORWARD chain.

Firewall

The host manages its own firewall rules. Default open ports include:

PortService
22/tcpSSH
25/tcpSMTP (Postfix)
53/tcp+udpDNS (dnsmasq)
80/tcpHTTP (Nginx)
143/tcpIMAP (Dovecot)
443/tcpHTTPS (Nginx)
587/tcpSubmission (Postfix)
636/tcpLDAPS (OpenLDAP)
993/tcpIMAPS (Dovecot)
4190/tcpSieve (Dovecot)

Docker FORWARD

Docker inserts DOCKER-USER and DOCKER-FORWARD chains into the FORWARD policy. Currently DOCKER chain allows port 80 traffic to 172.18.0.4 and drops the rest.

Northeast Systems · Aux Server · Infra Server