Skip to content
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

单实例如何对接多面板呢 #732

Open
caoyuekun123 opened this issue Jan 14, 2025 · 5 comments
Open

单实例如何对接多面板呢 #732

caoyuekun123 opened this issue Jan 14, 2025 · 5 comments

Comments

@caoyuekun123
Copy link

就是如何将多台vps的节点整合到一个面板上去

@caoyuekun123
Copy link
Author

https://github.com/XrayR-project/XrayR?tab=readme-ov-file#%E6%94%AF%E6%8C%81%E5%89%8D%E7%AB%AF

你好,目前是通过配置route.json和outbound.json这两个文件去实现的一个类似与中转的效果,但是就速度方面而言比直连的节点慢,有没有其他的解决办法能降低这个延迟呢

@theresaarcher
Copy link
Contributor

没有明白你的意思

@caoyuekun123
Copy link
Author

  • PanelType: "NewV2board" # Panel type: SSpanel, NewV2board, PMpanel, Proxypanel, V2RaySocks, GoV2Panel, BunPanel
    ApiConfig:
    ApiHost: "http://vbs.xx.com"
    ApiKey: "qwerqwerqwerqwer"
    NodeID: 9
    NodeType: Shadowsocks # Node type: V2ray, Vmess, Vless, Shadowsocks, Trojan, Shadowsocks-Plugin
    Timeout: 30 # Timeout for the api request
    EnableVless: false # Enable Vless for V2ray Type
    VlessFlow: "xtls-rprx-vision" # Only support vless
    SpeedLimit: 0 # Mbps, Local settings will replace remote settings, 0 means disable
    DeviceLimit: 0 # Local settings will replace remote settings, 0 means disable
    RuleListPath: # /etc/XrayR/rulelist Path to local rulelist file
    DisableCustomConfig: false # disable custom config for sspanel
    ControllerConfig:
    ListenIP: 0.0.0.0 # IP address you want to listen
    SendIP: 0.0.0.0 # IP address you want to send pacakage
    UpdatePeriodic: 60 # Time to update the nodeinfo, how many sec.
    EnableDNS: false # Use custom DNS config, Please ensure that you set the dns.json well
    DNSType: AsIs # AsIs, UseIP, UseIPv4, UseIPv6, DNS strategy
    EnableProxyProtocol: false # Only works for WebSocket and TCP
    AutoSpeedLimitConfig:
    Limit: 0 # Warned speed. Set to 0 to disable AutoSpeedLimit (mbps)
    WarnTimes: 0 # After (WarnTimes) consecutive warnings, the user will be limited. Set to 0 to punish overspeed user immediately.
    LimitSpeed: 0 # The speedlimit of a limited user (unit: mbps)
    LimitDuration: 0 # How many minutes will the limiting last (unit: minute)
    GlobalDeviceLimitConfig:
    Enable: false # Enable the global device limit of a user
    RedisNetwork: tcp # Redis protocol, tcp or unix
    RedisAddr: 127.0.0.1:6379 # Redis server address, or unix socket path
    RedisUsername: # Redis username
    RedisPassword: YOUR PASSWORD # Redis password
    RedisDB: 0 # Redis DB
    Timeout: 5 # Timeout for redis request
    Expiry: 60 # Expiry time (second)
    EnableFallback: false # Only support for Trojan and Vless
    FallBackConfigs: # Support multiple fallbacks
    - SNI: # TLS SNI(Server Name Indication), Empty for any
    Alpn: # Alpn, Empty for any
    Path: # HTTP PATH, Empty for any
    Dest: 80 # Required, Destination of fallback, check https://xtls.github.io/config/features/fallback.html for details.
    ProxyProtocolVer: 0 # Send PROXY protocol version, 0 for disable
    DisableLocalREALITYConfig: false # disable local reality config
    • PanelType: "NewV2board" # Panel type: SSpanel, NewV2board, PMpanel, Proxypanel, V2RaySocks, GoV2Panel, BunPanel
      ApiConfig:
      ApiHost: "http://hk.xx.com"
      ApiKey: "qwerqwerqwerqwer"
      NodeID: 10
      NodeType: Shadowsocks # Node type: V2ray, Vmess, Vless, Shadowsocks, Trojan, Shadowsocks-Plugin
      Timeout: 30 # Timeout for the api request
      EnableVless: false # Enable Vless for V2ray Type
      VlessFlow: "xtls-rprx-vision" # Only support vless
      SpeedLimit: 0 # Mbps, Local settings will replace remote settings, 0 means disable
      DeviceLimit: 0 # Local settings will replace remote settings, 0 means disable
      RuleListPath: # /etc/XrayR/rulelist Path to local rulelist file
      DisableCustomConfig: false # disable custom config for sspanel
      ControllerConfig:
      ListenIP: 0.0.0.0 # IP address you want to listen
      SendIP: 0.0.0.0 # IP address you want to send pacakage
      UpdatePeriodic: 60 # Time to update the nodeinfo, how many sec.
      EnableDNS: false # Use custom DNS config, Please ensure that you set the dns.json well
      DNSType: AsIs # AsIs, UseIP, UseIPv4, UseIPv6, DNS strategy
      EnableProxyProtocol: false # Only works for WebSocket and TCP
      AutoSpeedLimitConfig:
      Limit: 0 # Warned speed. Set to 0 to disable AutoSpeedLimit (mbps)
      WarnTimes: 0 # After (WarnTimes) consecutive warnings, the user will be limited. Set to 0 to punish overspeed user immediately.
      LimitSpeed: 0 # The speedlimit of a limited user (unit: mbps)
      LimitDuration: 0 # How many minutes will the limiting last (unit: minute)
      GlobalDeviceLimitConfig:
      Enable: false # Enable the global device limit of a user
      RedisNetwork: tcp # Redis protocol, tcp or unix
      RedisAddr: 127.0.0.1:6379 # Redis server address, or unix socket path
      RedisUsername: # Redis username
      RedisPassword: YOUR PASSWORD # Redis password
      RedisDB: 0 # Redis DB
      Timeout: 5 # Timeout for redis request
      Expiry: 60 # Expiry time (second)
      EnableFallback: false # Only support for Trojan and Vless
      FallBackConfigs: # Support multiple fallbacks
      - SNI: # TLS SNI(Server Name Indication), Empty for any
      Alpn: # Alpn, Empty for any
      Path: # HTTP PATH, Empty for any
      Dest: 80 # Required, Destination of fallback, check https://xtls.github.io/config/features/fallback.html for details.
      ProxyProtocolVer: 0 # Send PROXY protocol version, 0 for disable
      DisableLocalREALITYConfig: false # disable local reality config

这个是我的节点的相关配置,第二个上面那个节点能正常使用,但是加了下面这个配置就会报错

level=panic msg="Panel Start failed: request http://hk.xx.com/api/v1/server/UniProxy/config failed: {"status":"fail","message":"Server does not exist","data":null,"error":null}, "

我hk.xx.com这台服务器是启动了的,也是部署了xrayr这个项目的,也能正常使用对应的节点,但是放在vbs.xx.com这台服务器的面板上去就不行,是不是还需要在hk.xx.com这台服务器上配置inbound相关配置哇

@caoyuekun123
Copy link
Author

没有明白你的意思

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants