# Firewall: drop all incoming traffic except replies, loopback, ICMP and DHCPv6. # Loaded by nftables.service. Jobs live on podman bridges (podman*): they may reach the # internet, DNS on their bridge, and the runner's cache server (config.yaml), nothing else here. destroy table inet firewall table inet firewall { chain input { type filter hook input priority filter; policy drop; ct state established,related accept ct state invalid drop iif lo accept meta l4proto { icmp, ipv6-icmp } accept ip6 saddr fe80::/10 udp dport 546 accept iifname "podman*" meta l4proto { tcp, udp } th dport 53 accept iifname "podman*" tcp dport 8088 accept } chain forward { type filter hook forward priority filter; policy drop; ct state established,related accept ct state invalid drop iifname "podman*" accept } }