<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ufw on José Ángel's Blog</title><link>https://blog.joseangelinfra.dev/en/tags/ufw/</link><description>Recent content in Ufw on José Ángel's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 17 Nov 2026 11:30:00 +0100</lastBuildDate><atom:link href="https://blog.joseangelinfra.dev/en/tags/ufw/index.xml" rel="self" type="application/rss+xml"/><item><title>A firewall that really filters with Docker: ufw and DOCKER-USER</title><link>https://blog.joseangelinfra.dev/en/posts/firewall-docker-ufw-docker-user/</link><pubDate>Tue, 17 Nov 2026 11:30:00 +0100</pubDate><guid>https://blog.joseangelinfra.dev/en/posts/firewall-docker-ufw-docker-user/</guid><description>&lt;p>A server with &lt;code>ufw&lt;/code> enabled and the incoming policy set to &lt;code>deny&lt;/code> looks closed. With Docker it is not: a container with &lt;code>ports: &amp;quot;3306:3306&amp;quot;&lt;/code> is reachable from any machine on the network even though &lt;code>ufw status&lt;/code> does not allow it. This guide explains why that happens and how to set up a filter that works, with a rule that survives reboots.&lt;/p>
&lt;p>&lt;img src="https://blog.joseangelinfra.dev/img/posts/firewall-docker-ufw-docker-user-1.en.svg" alt="Diagram of a packet’s path: it reaches the machine, goes through Docker’s address translation, the FORWARD chain and the DOCKER-USER chain before reaching the container">&lt;/p></description></item></channel></rss>