FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.99k stars 1.62k forks source link

grpc没有acceptProxyProtocol设置 #387

Closed PatsyLoughary closed 1 year ago

PatsyLoughary commented 1 year ago

Welcome

Description of the problem,screencshot would be good

grpc缺少acceptProxyProtocol设置,例如下面的配置用不了 https://github.com/chika0801/Xray-examples/blob/main/VLESS-gRPC-uTLS-REALITY/config_server_shared_port.json

Version of x-ui

```console $ x-ui version 0.3.4.2:20230409 ```

x-ui log or xray log

```console # paste log here ```
FranzKafkaYu commented 1 year ago

Welcome

  • [x] Yes, I'm using the latest major release. Only such installations are supported.
  • [x] Yes, I'm using the supported system. Only such systems are supported.
  • [x] Yes, I have read all WIKI document,nothing can help me in my problem.
  • [x] Yes, I've searched similar issues on GitHub and didn't find any.
  • [x] Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

grpc缺少acceptProxyProtocol设置,例如下面的配置用不了 https://github.com/chika0801/Xray-examples/blob/main/VLESS-gRPC-uTLS-REALITY/config_server_shared_port.json

Version of x-ui

x-ui log or xray log

 "sockopt": {
            "acceptProxyProtocol": true
       }  

目前面板不支持sockopt配置,另外这份配置文件中sockopt配置应该是不需要的(透明代理相关)。