From c37a1d23bf44d7ba52d3affd3f5348f3d69729f8 Mon Sep 17 00:00:00 2001 From: marcorealacci Date: Sun, 16 Mar 2025 16:05:56 +0100 Subject: [PATCH] Improve examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97ffbef..70a6fbf 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ services: In the above example: - The `web` container can communicate with other containers on different Docker networks (`magicfw.firewall.allow_icc: true`). -- The container can be accessed by external hosts using the container's IP (`magicfw.firewall.allow_external: true`). +- The container can be accessed by external hosts using the container's IP (**not host IP!**) (`magicfw.firewall.allow_external: true`). This requires a route on other hosts or the router. #### Example 2 ```yaml @@ -95,7 +95,7 @@ services: In the above example: - The `web` container can communicate with other containers on different Docker networks (`magicfw.firewall.allow_icc: true`). -- External hosts can access the container via both :80 and :8080 (port mapping still works even with DISABLE_NAT) +- External hosts can access the container via both :80 and :8080 (port mapping still works even with `DISABLE_NAT` set to `true`, as only Source NAT will be disabled) - External hosts will not be able to access the container on ports other than 80 ---