Skip to content
rafa.sh
  • Blog
  • Projects
  • About
  • Contact
~/blog/2025/ufw-docker-firewall-bug

Docker was making holes in my firewall for years

Docker bypasses UFW by writing its own iptables rules, quietly exposing published container ports to the internet. Here's why it happens and how to fix it.

2025-11-08 1 min read (last updated 2025-11-08)
Back to blog

Tags

docker linux ufw
rafa.sh

Written in Rust, deployed with Docker on an old PC.

© 2026 rafa.sh

Navigate

  • Home
  • Blog
  • Projects
  • About
  • Contact

Resources

  • RSS feed
  • Sitemap
  • Privacy

Connect

  • Email rafa@rafa.sh
  • Download CV (EN)
  • Download CV (ES)