Notes on Podman Network¶
0.Intro¶
This is a note on some issues relating to podman network and firewalld on RHEL.
1.Environment¶
- RHEL 9.4
- Podman 4.9.4-rhel
2. Issue Details¶
--network | --net | -p | firewall status |
---|---|---|---|
- | [x] | [x] | Allowed |
bridge | [x] | [x] | Blocked |
host | - | - | Blocked |
As showed in table above, if using podman with --net
-p
parameters only, firewalld will not block the access on this port.
However, with --network bridge
configured, and paramters above configured, the firewalld will block this access.
And as showed, firewalld will block all access on configuring --network host
.