Merge pull request #19986 from robmry/firewalld_forwarding_policy

Add 'docker-forwarding' policy to firewalld description.
This commit is contained in:
David Karlsson 2024-08-11 14:13:44 +02:00 committed by GitHub
commit 513d90e4f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -282,9 +282,13 @@ the scope of these instructions.
If you are running Docker with the `iptables` option set to `true`, and
[firewalld](https://firewalld.org) is enabled on your system, Docker
automatically creates a `firewalld` zone called `docker` and inserts all the
network interfaces it creates (for example, `docker0`) into the `docker` zone
to allow seamless networking.
automatically creates a `firewalld` zone called `docker`, with target `ACCEPT`.
All network interfaces created by Docker (for example, `docker0`) are inserted
into the `docker` zone.
Docker also creates a forwarding policy called `docker-forwarding` that allows
forwarding from `ANY` zone to the `docker` zone.
## Docker and ufw