- The RemoteIPTrustedProxy directive adds one
- or more addresses (or address blocks) to trust as presenting a valid
- RemoteIPHeader value of the useragent IP. Unlike the
- RemoteIPInternalProxy directive, any intranet
+
The RemoteIPTrustedProxy
+ directive restricts which peer IP addresses (or address blocks) will be
+ trusted to present a valid RemoteIPHeader value of the useragent IP.
+
+ Unlike the RemoteIPInternalProxy directive, any intranet
or private IP address reported by such proxies, including the 10/8, 172.16/12,
192.168/16, 169.254/16 and 127/8 blocks (or outside of the IPv6 public
2000::/3 block) are not trusted as the useragent IP, and are left in the
RemoteIPHeader header's value.
+ By default, mod_remoteip will trust
+ all hosts presenting a non internal address in the
+ RemoteIPHeader header value.
+
+
Trusted (Load Balancer) Example
RemoteIPHeader X-Forwarded-For
@@ -239,7 +248,7 @@ RemoteIPTrustedProxy proxy.example.com
RemoteIPTrustedProxyList
-Declare client intranet IP addresses trusted to present the RemoteIPHeader value
+Restrict client IP addresses trusted to present the RemoteIPHeader value
RemoteIPTrustedProxyList filename
server configvirtual host