main_ipv*.conf.sample: document reverse proxy use of 'allow_gw_to_local_service'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrisandClaude Opus 5.5 committed 2026-11-19 00:52:58 +01:00
1 parent ff58963dea
commit 954dce1bf0
2 files changed
+20 -4

No files matched your search

+10 -2
View File
@@ -462,8 +462,16 @@ allow_to_ext_net=""
# - allow_gw_to_local_service="<local-ip:port:protocol> [local-ip:port:protocol> [.." # - allow_gw_to_local_service="<local-ip:port:protocol> [local-ip:port:protocol> [.."
# - # -
# - Allow connections initiated by the gateway itself (OUTPUT chain) to the # - Allow connections initiated by the gateway itself (OUTPUT chain) to the
# - given service in a local network. Needed e.g. if a reverse proxy (nginx, # - given service in a local network.
# - apache, ..) running on the gateway forwards requests to a local server. # -
# - This makes it possible to use the gateway as a reverse proxy: a web server
# - (nginx, apache, ..) running on the gateway accepts requests from outside and
# - forwards them to a service on a local server. Without such an entry, the
# - connection from the gateway to the local service is dropped by the OUTPUT
# - chain and the reverse proxy answers with '502 Bad Gateway'.
# -
# - Note: Incoming traffic to the reverse proxy on the gateway itself (e.g. port
# - 443) must be allowed separately.
# - # -
# - Only 'tcp' and 'udp' are allowed values for protocol. A port range # - Only 'tcp' and 'udp' are allowed values for protocol. A port range
# - can be given as 'from-to'. # - can be given as 'from-to'.
+10 -2
View File
@@ -449,8 +449,16 @@ allow_to_ext_net=""
# - allow_gw_to_local_service="<local-ip,port,protocol> [local-ip,port,protocol> [.." # - allow_gw_to_local_service="<local-ip,port,protocol> [local-ip,port,protocol> [.."
# - # -
# - Allow connections initiated by the gateway itself (OUTPUT chain) to the # - Allow connections initiated by the gateway itself (OUTPUT chain) to the
# - given service in a local network. Needed e.g. if a reverse proxy (nginx, # - given service in a local network.
# - apache, ..) running on the gateway forwards requests to a local server. # -
# - This makes it possible to use the gateway as a reverse proxy: a web server
# - (nginx, apache, ..) running on the gateway accepts requests from outside and
# - forwards them to a service on a local server. Without such an entry, the
# - connection from the gateway to the local service is dropped by the OUTPUT
# - chain and the reverse proxy answers with '502 Bad Gateway'.
# -
# - Note: Incoming traffic to the reverse proxy on the gateway itself (e.g. port
# - 443) must be allowed separately.
# - # -
# - Only 'tcp' and 'udp' are allowed values for protocol. A port range # - Only 'tcp' and 'udp' are allowed values for protocol. A port range
# - can be given as 'from-to'. # - can be given as 'from-to'.