本帖最后由 红桃老幺 于 2023-11-29 06:01 编辑  
 
原本的xray配置是netflix流量走新加坡小鸡,现在需要加一条disney的流量走这本机的v6出,不走新加坡小鸡,自己改了几次都是改崩了,有没有大佬指导一下 
{ 
  "api": { 
    "services": [ 
      "HandlerService", 
      "LoggerService", 
      "StatsService" 
    ], 
    "tag": "api" 
  }, 
  "inbounds": [ 
{ 
    "listen": "127.0.0.1", 
    "port": 30000,  
    "protocol": "socks",  
    "sniffing": { 
        "enabled": true, 
        "destOverride": ["http", "tls"] 
    } 
} 
  ], 
  "outbounds": [ 
    { 
      "protocol": "freedom", 
      "settings": {} 
    }, 
        { 
      "tag": "netflix_proxy", 
      "protocol": "shadowsocks", 
      "settings": { 
        "servers": [ 
          { 
            "address": "xxxx.新加坡小鸡.xxx", 
            "method": "aes-256-gcm", 
            "ota": false, 
            "password": "4xxx/xxxxxxxxxxxx", 
            "port": 5xxx0, 
            "level": 1 
          } 
        ] 
      }, 
      "streamSettings": { 
        "network": "tcp" 
      }, 
      "mux": { 
        "enabled": false, 
        "concurrency": -1 
      } 
    }, 
    { 
      "protocol": "blackhole", 
      "settings": {}, 
      "tag": "blocked" 
    } 
  ], 
  "policy": { 
    "levels": { 
      "0": { 
        "handshake": 10, 
        "connIdle": 100, 
        "uplinkOnly": 2, 
        "downlinkOnly": 3, 
        "statsUserUplink": true, 
        "statsUserDownlink": true, 
        "bufferSize": 10240 
      } 
    }, 
    "system": { 
      "statsInboundDownlink": true, 
      "statsInboundUplink": true 
    } 
  }, 
  "routing": { 
    "rules": [ 
        { 
    "type": "field", 
    "outboundTag": "netflix_proxy", 
    "domain": [ 
        "geosite:netflix" 
    ] 
}, 
      { 
        "inboundTag": [ 
          "api" 
        ], 
        "outboundTag": "api", 
        "type": "field" 
      }, 
      { 
        "ip": [ 
          "geoip:private" 
        ], 
        "outboundTag": "blocked", 
        "type": "field" 
      }, 
      { 
        "outboundTag": "blocked", 
        "protocol": [ 
          "bittorrent" 
        ], 
        "type": "field" 
      } 
    ] 
  }, 
  "stats": {} 
} |