全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 354|回复: 0

[疑问] IPv6小鸡怎么配置好Xray的出站

[复制链接]
发表于 2024-3-17 22:38:48 | 显示全部楼层 |阅读模式
本帖最后由 ycyppq123 于 2024-3-17 22:40 编辑

用warp给ipv6小鸡添加ipv4出站ip 怎么配置出站ipv6优先 打不开的网站用warp的ipv4呢 不知道下面这样配置对不对

{
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": {
                "domainStrategy": "UseIPv6"
            }
        },
        {
            "protocol": "blackhole",
            "tag": "blocked"
        },
        {
            "tag": "WARP-interface-v4",
            "protocol": "freedom",
            "streamSettings": {
                "sockopt": {
                    "interface": "warp",
                    "tcpFastOpen": true
                }
            }
        }
    ],
    "routing": {
        "domainStrategy": "IPIfNonMatch",
        "rules": [
            {
                "ip": [
                    "geoip:cn",
                    "geoip:private"
                ],
                "outboundTag": "blocked",
                "type": "field"
            },
            {
                "type": "field",
                "network": "udp,tcp",
                "outboundTag": "WARP-interface-v4"
            },
            {
                "outboundTag": "blocked",
                "protocol": [
                    "bittorrent"
                ],
                "type": "field"
            }
        ]
    }
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-29 05:01 , Processed in 0.079364 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表