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 allow example 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.