请教各位黑大大/小粉紧,webhorizon支持IPv6奈飞解锁,但家里网络只支持IPv4,我查看了X-UI,socat,stunnel都没搞明白怎么在这台鸡上实现v4转v6,真诚请教改用什么工具怎么配置。多谢多谢! 小粉, 看了, 都没
谢谢各位恢复,我这样配有什么问题吗:(前提是我用扶墙从家里连到了webhorizon,然后iptables把80/443流量重定向到了本机62789端口) { "api": { "services": [ "HandlerService", "LoggerService", "StatsService" ], "tag": "api" }, "inbounds": [ { "listen": "127.0.0.1", "port": 62789, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "tag": "api" } ], "outbounds": [ { "protocol": "freedom", "settings": {}, "tag": "IP-V4" }, { "protocol": "freedom", "settings": { "domainStrategy": "UseIPv6" }, "tag": "IP-V6" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "rules": [ { "type": "field", "outboundTag": "IP-V6", "domain": [ "ipget.net", "geosite:netflix", "geosite:disney" ] }, { "type": "field", "outboundTag": "IP4-out", "network": "udp,tcp" }, { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" } ] }, "stats": {} } DNS解析没问题: # dig aaaa netflix.com ; > DiG 9.18.19-1~deb12u1-Debian > aaaa netflix.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50182 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;netflix.com. IN AAAA ;; ANSWER SECTION: netflix.com. 60 IN AAAA 2a05:d018:76c:b685:3b38:679d:2640:1ced netflix.com. 60 IN AAAA 2a05:d018:76c:b684:8e48:47c9:84aa:b34d netflix.com. 60 IN AAAA 2a05:d018:76c:b683:f711:f0cf:5cc7:b815 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP) ;; WHEN: Thu Dec 07 04:06:34 GMT 2023 ;; MSG SIZE rcvd: 124