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

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

  •  
  •   Lukedis ·
    Lukedis · 28 天前 · 701 次点击
      "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  
       28 天前
    ai 拒绝回答
    Lukedis
        2
    Lukedis  
    OP
       28 天前
    @6JSh5b6Q5Z2k 我让 ChatGPT 分析过,好像没啥问题,但是启动报错 neither outboundTag nor balancerTag is specified in routing rule
    mrliusg
        3
    mrliusg  
       28 天前
    @Lukedis 报错不是说的很清楚了吗? outboundTag 没有
    wang9571
        4
    wang9571  
       28 天前
    outboundsTag => outboundTag
    Lukedis
        5
    Lukedis  
    OP
       28 天前
    此帖终结,outboundsTag-> outboundTag ,成功运行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1293 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 17:51 · PVG 01:51 · LAX 09:51 · JFK 12:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.