MyNixOS website logo
option

services.redsocks.redsocks.*.disclose_src

Way to disclose client IP to the proxy.

  • "false": do not disclose

http-connect supports the following ways:

  • "X-Forwarded-For": add header "X-Forwarded-For: IP"
  • "Forwarded_ip": add header "Forwarded: for=IP" (see RFC7239)
  • "Forwarded_ipport": add header 'Forwarded: for="IP:port"'
Declarations
Type
one of "false", "X-Forwarded-For", "Forwarded_ip", "Forwarded_ipport"
Default
"false"