本帖最后由 cdn852 于 2021-11-28 09:25 编辑
方法一,NAT64,具体看我另一贴。 方法二,安装Warp ipv6,具体步骤如下,以wulabing的富强脚本为例。 1,安装富强,运行wget -N –no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/main/install.sh" && chmod +x install.sh && bash install.sh 2,安装warp ipv6,运行bash <(curl -fsSL git.io/warp.sh) 6 3,打开config.json(位置:/usr/local/etc/xray/config.json,其余脚本自己找),将 "outbounds"后面的代码换成下面代码(非wulabing的富强脚本自己摸索,多个括号与少个括号的区别)。 "outbounds": [ { "tag":"IPv4_out", "protocol": "freedom" }, { "tag":"IPv6_out", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv6" } } ], "routing": { "rules": [ { "type": "field", "outboundTag": "IPv6_out", "domain": ["domain:google.com"] }, { "type": "field", "outboundTag": "IPv4_out", "network": "udp,tcp" } ] } } 4,重启小鸡:reboot |