Using firewalld and the forwarding options (IP or port forward) might work not as expected if the default setup is left on the system. Consider…
Tag: masquerade
firewalld and podman (or docker) – no internet in the container and could not resolve host
If you happen to use CentOS 8 you have already discovered that Red Hat (i.e. CentOS) switch to podman, which is a fork of docker….