V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
destine
V2EX  ›  宽带症候群

3X-UI 链式代理用 geosite 或者 geoip 都不行,请大佬救救我

  •  
  •   destine · 31 天前 · 1236 次点击
    已在 Xray Config 中配置了 Outbounds 及 Routing Rules
    Outbounds 的配置没什么问题,Routing Rules 中 Destination 在 Domain 中配置了 geosite:netflix 无效
    但是如果将 geosite:netflix 去掉,所有流量都走 outbonds 则所有流量都可以被代理。
    系统是 Debian 12, 3X-UI 是 github 上最新的版本。之前老版本没有这个问题。还请各位大佬帮忙看看
    9 条回复    2025-07-05 10:10:42 +08:00
    destine
        1
    destine  
    OP
       31 天前
    补充一下,换了几台 VPS 都一样,系统 Ubuntu 也试过
    Laoz666
        2
    Laoz666  
       31 天前
    至少把你配置贴出来吧 不然靠算命吗
    destine
        3
    destine  
    OP
       31 天前
    配置如下,谢谢大哥

    {
    "log": {
    "access": "none",
    "dnsLog": false,
    "error": "",
    "loglevel": "warning",
    "maskAddress": ""
    },
    "api": {
    "tag": "api",
    "services": [
    "HandlerService",
    "LoggerService",
    "StatsService"
    ]
    },
    "inbounds": [
    {
    "tag": "api",
    "listen": "127.0.0.1",
    "port": 62789,
    "protocol": "dokodemo-door",
    "settings": {
    "address": "127.0.0.1"
    }
    }
    ],
    "outbounds": [
    {
    "tag": "direct",
    "protocol": "freedom",
    "settings": {
    "domainStrategy": "AsIs",
    "redirect": "",
    "noises": []
    }
    },
    {
    "tag": "blocked",
    "protocol": "blackhole",
    "settings": {}
    },
    {
    "tag": "Outbound_SS",
    "protocol": "shadowsocks",
    "settings": {
    "servers": [
    {
    "address": "80.80.80.80",
    "port": 22288,
    "password": "y4YQfpMkca4//sg=",
    "method": "aes-256-gcm",
    "uot": true
    }
    ]
    },
    "streamSettings": {
    "network": "tcp",
    "security": "none",
    "tcpSettings": {
    "header": {
    "type": "none"
    }
    }
    }
    }
    ],
    "policy": {
    "levels": {
    "0": {
    "statsUserDownlink": true,
    "statsUserUplink": true
    }
    },
    "system": {
    "statsInboundDownlink": true,
    "statsInboundUplink": true,
    "statsOutboundDownlink": false,
    "statsOutboundUplink": false
    }
    },
    "routing": {
    "domainStrategy": "AsIs",
    "rules": [
    {
    "type": "field",
    "domain": [
    "geosite:netflix",
    "youtube"
    ],
    "inboundTag": [
    "inbound-36630"
    ],
    "outboundTag": "Outbound_SS"
    },
    {
    "type": "field",
    "inboundTag": [
    "api"
    ],
    "outboundTag": "api"
    },
    {
    "type": "field",
    "outboundTag": "blocked",
    "ip": [
    "geoip:private"
    ]
    },
    {
    "type": "field",
    "outboundTag": "blocked",
    "protocol": [
    "bittorrent"
    ]
    }
    ]
    },
    "stats": {},
    "metrics": {
    "tag": "metrics_out",
    "listen": "127.0.0.1:11111"
    }
    }
    Asakijz
        4
    Asakijz  
       31 天前
    shonnliberty
        5
    shonnliberty  
       31 天前
    @destine 这种问题交给 claude/Gemini 它们会帮你很快搞定。
    szdosar
        6
    szdosar  
       31 天前
    那就用旧版好了,不折腾。
    #x-ui
    Please enter your selection [0-25]: 4
    Enter the panel version (like 2.4.0):
    383394544
        7
    383394544  
       31 天前 via iPhone
    youtube 写错了,应为 geosite:youtube
    Ipsum
        8
    Ipsum  
       31 天前
    用了 geosite 怎么不开 dns server 或者 sniff ?或者你直接用 geoip 。
    geosite 只是针对域名,你已经解析了域名,扔个 ip 过去,xray 怎么知道你想干嘛?
    destine
        9
    destine  
    OP
       31 天前
    @Ipsum 感谢大佬,inbound 没开启 sniff ,开启后解决
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5774 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 02:46 · PVG 10:46 · LAX 19:46 · JFK 22:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.