Skip to content

Commit 8cf8b33

Browse files
Merge pull request #885 from mheon/firewalld_final
Finalize firewalld port forwarding support
2 parents c9be6ea + 4fea4c0 commit 8cf8b33

File tree

5 files changed

+626
-238
lines changed

5 files changed

+626
-238
lines changed

docs/netavark-firewalld.7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ When it is enabled (set to `yes`), port forwarding with root Podman will become
3131
Attempting to start a container or pod with the `-p` or `-P` options will return errors.
3232
When StrictForwardPorts is enabled, all port forwarding must be done through firewalld using the firewall-cmd tool.
3333
This ensures that containers cannot allow traffic through the firewall without administrator intervention.
34-
Please note that rootless Podman is unaffected by this setting, and will function as it always has.
34+
Please note that rootless Podman is unaffected by this setting and will function as it always has.
3535

36-
Instead, containers should be started without forwarded ports specified, and preferably with static IPs.
36+
Instead, containers should be started without forwarded ports specified and preferably with static IPs.
3737

3838
To forward a port externally, the following command should be run, substituting the desired host and container port numbers, protocol, and the container's IP.
3939
```

0 commit comments

Comments
 (0)