Squid 配置指令 tproxy_uses_indirect_client
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | tproxy_uses_indirect_client |
|---|---|
| 替代 | |
| 要求 | --enable-follow-x-forwarded-for 和 --enable-linux-netfilter |
| 默认值 | tproxy_uses_indirect_client off |
| 建议配置 |
|
Controls whether the indirect client address (see follow_x_forwarded_for) is used instead of the direct client address when spoofing the outgoing client. This has no effect on requests arriving in non-tproxy mode ports. SECURITY WARNING: Usage of this option is dangerous and should not be used trivially. Correct configuration of follow_x_forwarded_for with a limited set of trusted sources is required to prevent abuse of your proxy. |
|
