Skip to content

Commit 506bd33

Browse files
committed
Add 'docker-forwarding' policy to firewalld description.
Signed-off-by: Rob Murray <[email protected]>
1 parent 1c00298 commit 506bd33

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

content/network/packet-filtering-firewalls.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,13 @@ $ docker network create mybridge \
157157

158158
If you are running Docker with the `iptables` option set to `true`, and
159159
[firewalld](https://firewalld.org) is enabled on your system, Docker
160-
automatically creates a `firewalld` zone called `docker` and inserts all the
161-
network interfaces it creates (for example, `docker0`) into the `docker` zone
162-
to allow seamless networking.
160+
automatically creates a `firewalld` zone called `docker`, with target `ACCEPT`.
161+
162+
All network interfaces created by Docker (for example, `docker0`) are inserted
163+
into the `docker` zone.
164+
165+
Docker also creates a forwarding policy called `docker-forwarding` that allows
166+
forwarding from `ANY` zone to the `docker` zone.
163167

164168
## Docker and ufw
165169

0 commit comments

Comments
 (0)