Add parameter 'allow_gw_to_local_service' also for IPv6.

Same as the IPv4 variant, but fields are separated by comma:
"local-ip,port[-port],protocol [..]". The array is already built in
the shared post_decalrations.conf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrisandClaude Opus 5.5 committed 2026-11-19 00:50:06 +01:00
1 parent a3d6d6ab99
commit ff58963dea
2 files changed
+56

No files matched your search

+27
View File
@@ -440,6 +440,33 @@ allow_to_ext_net=""
# =============
# - Allow gateway itself to local service
# =============
# - allow_gw_to_local_service
# -
# - allow_gw_to_local_service="<local-ip,port,protocol> [local-ip,port,protocol> [.."
# -
# - 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,
# - apache, ..) running on the gateway forwards requests to a local server.
# -
# - Only 'tcp' and 'udp' are allowed values for protocol. A port range
# - can be given as 'from-to'.
# -
# - Note: Fields are separated by comma (not colon) because of IPv6 addresses.
# -
# - Example:
# - allow_gw_to_local_service="fd2c:d4d1:4f03:10::13,9663,tcp
# - fd2c:d4d1:4f03:10::20,8000-8010,tcp"
# -
# - Blank separated list
# -
allow_gw_to_local_service=""
# =============
# --- Separate local Networks
# =============