Closed phoenixxie0 closed 1 month ago
不适用send-proxy-v2参数是可以正常使用的,但是无法传递IP,这样比较麻烦一些
Use send-proxy, not send-proxy-v2.
Note that send-proxy does cause occasional errors. See #1873
acceptProxyProtocol
写错地方了,不应该写 realitySettings
里,去看文档
Use send-proxy, not send-proxy-v2.
Note that send-proxy does cause occasional errors. See #1873
Use send-proxy is also not work
完整性要求
版本
1.8.19
描述
前端用haproxy反代reality无法使用send-proxy-v2配置,导致无法获取真实IP haproxy相关配置如下 ` frontend reality mode tcp bind :33333 tfo alpn h2,http/1.1 tcp-request inspect-delay 5s tcp-request content accept if { req.ssl_hello_type 1 } acl tls req.ssl_hello_type 1 acl reality req_ssl_sni -i xxx.xxx.xxx use_backend xray if reality
backend xray mode tcp option ssl-hello-chk timeout server 1h retry-on conn-failure empty-response response-timeout server xray /dev/shm/xray/xtls.socket send-proxy-v2 tfo `
重现方式
均可重现
客户端配置
服务端配置
客户端日志
服务端日志