|
楼主 |
发表于 2020-5-12 12:27:46
|
显示全部楼层
本帖最后由 lxgndz 于 2020-5-12 12:31 编辑
电脑端不用设置配置只要选上ipv6就可以,配置是用在手机端,电脑端我用Trojan选上ipv6都可以连tg。
我没有办法帮你测试,我用的原版v2ray,我给你一个配置自己修改试试,
- {
- "inbounds": [
- {
- "port": 12345,
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "c310a8b8-9113-40b6-8e46-4c5c15e2a2c8",
- "alterId": 64
- }
- ]
- },
- "sniffing": {
- "enabled": true,
- "destOverride": ["http", "tls"]
- }
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": { },
- "tag": "direct"
- },
- {
- "tag":"IP6_out",
- "protocol": "freedom",
- "settings": {
- "domainStrategy": "UseIPv6"
- }
- }
- ],
- "routing": {
- "rules": [
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "domain": ["geosite:netflix",
- "btstatic.com",
- "netflix.ca",
- "netflix.com",
- "netflix.net",
- "nflxext.com",
- "nflximg.com",
- "nflximg.net",
- "nflxsearch.net",
- "nflxso.net",
- "nflxvideo.net",
- "fast.com",
- "netflixdnstest0.com",
- "netflixdnstest1.com",
- "netflixdnstest2.com",
- "netflixdnstest3.com",
- "netflixdnstest4.com",
- "netflixdnstest5.com",
- "netflixdnstest6.com",
- "netflixdnstest7.com",
- "netflixdnstest8.com",
- "netflixdnstest9.com"]
- },
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "ip": [
- "23.246.0.0/18",
- "37.77.184.0/21",
- "45.57.0.0/17",
- "64.120.128.0/17",
- "66.197.128.0/17",
- "108.175.32.0/20",
- "192.173.64.0/18",
- "198.38.96.0/19",
- "198.45.48.0/20"]
- },
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "domain": [
- "geosite:telegram",
- "t.me",
- "tdesktop.com",
- "telegra.ph",
- "telesco.pe",
- "telegram.me",
- "telegram.org",
- "telegram.dog",
- "graph.org"]
- },
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "ip": [
- "67.198.55.0/24",
- "67.198.0.0/17",
- "91.108.4.0/22",
- "91.108.8.0/22",
- "91.108.12.0/22",
- "91.108.16.0/22",
- "91.108.20.0/22",
- "91.108.56.0/22",
- "91.108.56.0/23",
- "95.161.64.0/20",
- "109.239.140.0/24",
- "149.154.160.0/22",
- "149.154.164.0/22",
- "149.154.168.0/22",
- "149.154.172.0/22",
- "149.154.160.0/20" ]
- },
- {
- "type": "field",
- "inboundTag": [
- "vmess-in"
- ],
- "outboundTag": "direct"
- }
- ]
- }
- }
复制代码 |
|