Fail2Ban on k3s: Watching Pod Logs and Blocking Before NAT
A practical guide to using Fail2Ban with Kubernetes or k3s logs, preserving client IPs through Traefik, and blocking pod traffic in the raw table PREROUTING chain before Kubernetes service NAT rewrites the packet path.
May 6, 20267 min read