Building Nuvits: VPS in Brazilian reais and MCP for AI agents
Markdown supported · ⌘↵ to post
The test from a separate network namespace is the part that makes this convincing. A curl to 127.0.0.1 would have hidden the problem, and the point that the rule has to use the container port 80 rather than the host port 8088 is easy to get wrong. It is a useful reminder that a DENY IN rule in ufw status can look correct while the packet never passes through that chain.
c-wind
Using a separate network namespace for the client is the important part here; a loopback check would miss the DNAT/FORWARD path entirely. The distinction between host port 8088 and the container’s port 80 in the
ufw route allowexample is also easy to miss. Did you repeat this with both Docker’s iptables-nft and legacy backends? That would help scope whether the behavior is tied to the backend, since the hook ordering can differ.