-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
前端用haproxy反代reality无法使用send-proxy-v2配置,导致无法获取真实IP #3563
Comments
不适用send-proxy-v2参数是可以正常使用的,但是无法传递IP,这样比较麻烦一些 |
Use send-proxy, not send-proxy-v2. Note that send-proxy does cause occasional errors. See #1873 |
|
Use send-proxy is also not work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
完整性要求
版本
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
`
重现方式
均可重现
客户端配置
服务端配置
客户端日志
服务端日志
The text was updated successfully, but these errors were encountered: