Open dzhl opened 3 years ago
仅实现优先走ipv6也行,不需要指定域名走ipv6,想问下trojan-go能做到吗
"outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy": "UseIPv6" } 优先走ipv6。在v2ray里这样设置"outbounds"就好了,不需要配置"routing" 想请教下trojan-go能否实现
继续请教,如何实现类似V2ray这样的功能?如何配置?
同问,同需求
你可以使用clash之类的客户端配置分流,估计trojan-go自身的客户端是无法分流的,只能一个客户端对应一个服务器。
我看到v2ray可以实现奈非分流,配置文件如下,请问trojan-go可以实现这一分流吗? { "inbounds": [, "sniffing": { "enabled": true, //一定要开启 sniffing,V2Ray 才能识别 Netflix 的流量 "destOverride": ["http", "tls"] },
}], "outbounds": [{ "protocol": "blackhole", "settings": {}, "tag": "blocked" },{ "tag":"IP4_out", "protocol": "freedom", "settings": {} },{ "tag":"IP6_out", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv6" // 指定使用 IPv6 } } ], "routing": { "rules": [ { "type": "field", "ip": ["geoip:private"], "outboundTag": "blocked" }, { "type": "field", "outboundTag": "IP6_out", "domain": ["geosite:netflix"] // netflix 走 IPv6 }, { "type": "field", "outboundTag": "IP4_out", "network": "udp,tcp"// 其余走 IPv4 } ] } }