Score:0

Firewalld apply port redirection from rootless Podman containers to host

ph flag

Is there a way to redirect ports for traffic that originates from the host or a Podman container and is destined for the host or another Podman container using Firewalld?

My use case: I am hosting a DNS server and a reverse proxy through rootless Podman containers with the port mappings 5353:53 for DNS and 1443:443 for the reverse proxy (higher port numbers have been used to avoid having to removed the privileged port restriction on Linux). The goal is for the host or a third container to send a request to port 53 or 443, have Firewalld redirect those ports to 5353 and 1443, which can then be accepted by the containers.

For example:

[generic container : sends request to host_ip:53] -> [host : redirects port 53 to 5353] -> [DNS container (listening on port 5353) : handles and responds as expected]

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.