V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Lukedis
V2EX  ›  OpenAI

帮我分析下 xray 入站、warp 出站的这个配置文件,为啥重启 xray,服务直接挂了

  •  
  •   Lukedis ·
    Lukedis · 12 天前 · 435 次点击
      "inbounds": [
        {
          "port": 443,
          "protocol": "vless",
          "settings": {
            "clients": [
              {
                "id": "",
                "flow": "xtls-rprx-vision"
              }
            ],
            "decryption": "none"
          },
          "streamSettings": {
            "network": "tcp",
            "security": "reality",
            "realitySettings": {
              "dest": "1.1.1.1:443",
              "serverNames": [
                ""
              ],
              "privateKey": "",
              "shortIds": [
                ""
              ]
            }
          },
          "sniffing": {
            "enabled": true,
            "destOverride": [
              "http",
              "tls",
              "quic"
            ],
            "routeOnly": true
          }
        }
      ],
      "outbounds": [
        {
          "tag": "direct",
          "protocol": "freedom"
        },
        {
          "tag": "warp",
          "protocol": "socks",
          "settings": {
            "servers": [
              {
                "address": "127.0.0.1",
                "port": 2333
              }
            ]
          }
        }
      ],
      "routing": {
        "rules": [
          {
            "type": "field",
            "outboundsTag": "warp",
            "domain": [
              "geosite:netflix",
              "domain:openai.com",
              "domain:ai.com"
            ]
          }
        ]
      }
    }```
    5 条回复
    6JSh5b6Q5Z2k
        1
    6JSh5b6Q5Z2k  
       12 天前
    ai 拒绝回答
    Lukedis
        2
    Lukedis  
    OP
       12 天前
    @6JSh5b6Q5Z2k 我让 ChatGPT 分析过,好像没啥问题,但是启动报错 neither outboundTag nor balancerTag is specified in routing rule
    mrliusg
        3
    mrliusg  
       12 天前
    @Lukedis 报错不是说的很清楚了吗? outboundTag 没有
    wang9571
        4
    wang9571  
       12 天前
    outboundsTag => outboundTag
    Lukedis
        5
    Lukedis  
    OP
       12 天前
    此帖终结,outboundsTag-> outboundTag ,成功运行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5876 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 02:22 · PVG 10:22 · LAX 18:22 · JFK 21:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.