-
Notifications
You must be signed in to change notification settings - Fork 24
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
Proxy Protocol 无法使用 #26
Comments
服务端是最新版吗?要是最新版还有问题的话提供一下Nginx配置,没问题的话直接关闭问题就行。 |
我这边用nginx/1.27.1做后端,使用NPS的TCP转发开启Proxy Protocol V1和V2测试都没问题。
|
对了NPS只支持自身向后端通过Proxy Protocol传递真实IP,不支持其他前置反向代理传入Proxy Protocol,如果前置代理已经传递了Proxy Protocol的话NPS要关掉这个才行。 |
前段就nps,然后就转发到了nginx,haproxy是我本地局域网,为了兼容Proxy Protocol才加的,我也正在找问题 |
有nginx了应该不需要haproxy才对,不知道是不是nginx版本问题,你可以拿我上面的测试配置试试看能不能返回真实IP。 |
奇怪了,你截图一下NPS网页仪表盘页面的版本号吧
|
OK,用TLS端口连的话就没必要开加密了,下一版我修一下这个。 |
这个配置是总配置,无法单独分开,而且,加密或者压缩,任何一个开了好像都不行 |
已修复 |
这是nginx的提示,使用frp的Proxy Protocol 可以正常使用
不管是V1、V2还是关闭,均为以下日志
这是npc的日志,使用的是docker安装

这是nps的配置
The text was updated successfully, but these errors were encountered: