mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-04-05 03:19:28 +08:00
Update serverless_for_iran.jsonc
change h2c to https+fragment for compatibility
This commit is contained in:
parent
8c7f649fdf
commit
f45f6d6c62
@ -67,11 +67,12 @@
|
|||||||
"regexp:^z-m-scontent.*\\.xx\\.fbcdn\\.net$": "z-m-scontent-fallback.xx.fbcdn.net",
|
"regexp:^z-m-scontent.*\\.xx\\.fbcdn\\.net$": "z-m-scontent-fallback.xx.fbcdn.net",
|
||||||
"regexp:^z-m-static.*\\.xx\\.fbcdn\\.net$": "z-m-static-fallback.xx.fbcdn.net",
|
"regexp:^z-m-static.*\\.xx\\.fbcdn\\.net$": "z-m-static-fallback.xx.fbcdn.net",
|
||||||
"regexp:^z-m-external.*\\.xx\\.fbcdn\\.net$": "z-m-external-fallback.xx.fbcdn.net",
|
"regexp:^z-m-external.*\\.xx\\.fbcdn\\.net$": "z-m-external-fallback.xx.fbcdn.net",
|
||||||
"geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"]
|
"geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"],
|
||||||
|
"cloudflare-dns.com": "www.cloudflare.com"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
"h2c://208.67.222.222/dns-query",
|
"https://cloudflare-dns.com/dns-query",
|
||||||
{"address": "localhost", "domains": ["geosite:private", "ext:iran.dat:all", "geosite:category-ir"]}
|
{"address": "localhost", "domains": ["geosite:private", "ext:iran.dat:all", "geosite:category-ir", "www.cloudflare.com"]}
|
||||||
],
|
],
|
||||||
"tag": "dns-query",
|
"tag": "dns-query",
|
||||||
"disableFallback": true
|
"disableFallback": true
|
||||||
@ -83,7 +84,7 @@
|
|||||||
"port": 10853,
|
"port": 10853,
|
||||||
"protocol": "dokodemo-door",
|
"protocol": "dokodemo-door",
|
||||||
"settings": {
|
"settings": {
|
||||||
"address": "208.67.222.222",
|
"address": "1.1.1.1",
|
||||||
"port": 53,
|
"port": 53,
|
||||||
"network": "tcp,udp"
|
"network": "tcp,udp"
|
||||||
}
|
}
|
||||||
@ -111,24 +112,10 @@
|
|||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {"domainStrategy": "ForceIP"}
|
"settings": {"domainStrategy": "ForceIP"}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"tag": "tls-repack-dns",
|
|
||||||
"protocol": "freedom",
|
|
||||||
"settings": {"domainStrategy": "ForceIP"},
|
|
||||||
"streamSettings": {
|
|
||||||
"security": "tls",
|
|
||||||
"tlsSettings": {
|
|
||||||
"serverName": "www.opendns.com",
|
|
||||||
"verifyPeerCertInNames": ["fromMitM", "www.opendns.com", "doh.opendns.com"],
|
|
||||||
"alpn": ["fromMitM"],
|
|
||||||
"fingerprint": "chrome"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"tag": "dns-out",
|
"tag": "dns-out",
|
||||||
"protocol": "dns",
|
"protocol": "dns",
|
||||||
"settings": {"nonIPQuery": "skip", "network": "tcp", "address": "208.67.222.222", "port": 53},
|
"settings": {"nonIPQuery": "skip", "network": "tcp", "address": "1.1.1.1", "port": 53},
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"sockopt": {
|
"sockopt": {
|
||||||
"dialerProxy": "super-fragment"
|
"dialerProxy": "super-fragment"
|
||||||
@ -212,7 +199,7 @@
|
|||||||
{"outboundTag": "dns-out",
|
{"outboundTag": "dns-out",
|
||||||
"inboundTag": ["socks-in"], "port": 53
|
"inboundTag": ["socks-in"], "port": 53
|
||||||
},
|
},
|
||||||
{"outboundTag": "tls-repack-dns",
|
{"outboundTag": "super-fragment",
|
||||||
"inboundTag": ["dns-query"]
|
"inboundTag": ["dns-query"]
|
||||||
},
|
},
|
||||||
{"outboundTag": "block",
|
{"outboundTag": "block",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user