diff --git a/conf/main_ipv4.conf.sample b/conf/main_ipv4.conf.sample index 99c450a..255a218 100644 --- a/conf/main_ipv4.conf.sample +++ b/conf/main_ipv4.conf.sample @@ -462,8 +462,16 @@ allow_to_ext_net="" # - allow_gw_to_local_service=" [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. +# - given service in a local network. +# - +# - 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 # - can be given as 'from-to'. diff --git a/conf/main_ipv6.conf.sample b/conf/main_ipv6.conf.sample index 4b8d49d..1f27205 100644 --- a/conf/main_ipv6.conf.sample +++ b/conf/main_ipv6.conf.sample @@ -449,8 +449,16 @@ allow_to_ext_net="" # - allow_gw_to_local_service=" [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. +# - given service in a local network. +# - +# - 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 # - can be given as 'from-to'.