mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-04-04 02:49:28 +08:00
Update serverless_with_mitm_for_iran.jsonc
change dns to open dns to works on all isp
This commit is contained in:
parent
ac97874370
commit
215e3dbf07
@ -72,7 +72,7 @@
|
||||
"geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"]
|
||||
},
|
||||
"servers": [
|
||||
"h2c://8.8.8.8/dns-query",
|
||||
"h2c://208.67.222.222/dns-query",
|
||||
{"address": "localhost", "domains": ["geosite:private", "ext:iran.dat:all", "geosite:category-ir"]}
|
||||
],
|
||||
"tag": "dns-query",
|
||||
@ -85,7 +85,7 @@
|
||||
"port": 10853,
|
||||
"protocol": "dokodemo-door",
|
||||
"settings": {
|
||||
"address": "8.8.8.8",
|
||||
"address": "208.67.222.222",
|
||||
"port": 53,
|
||||
"network": "tcp,udp"
|
||||
}
|
||||
@ -172,7 +172,21 @@
|
||||
"settings": {
|
||||
"redirect": "127.0.0.1:4432"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"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": "tls-repack-google",
|
||||
"protocol": "freedom",
|
||||
@ -218,7 +232,7 @@
|
||||
{
|
||||
"tag": "dns-out",
|
||||
"protocol": "dns",
|
||||
"settings": {"nonIPQuery": "skip", "network": "tcp", "address": "8.8.8.8", "port": 53},
|
||||
"settings": {"nonIPQuery": "skip", "network": "tcp", "address": "208.67.222.222", "port": 53},
|
||||
"streamSettings": {
|
||||
"sockopt": {
|
||||
"dialerProxy": "super-fragment"
|
||||
@ -302,7 +316,7 @@
|
||||
{"outboundTag": "dns-out",
|
||||
"inboundTag": ["socks-in"], "port": 53
|
||||
},
|
||||
{"outboundTag": "tls-repack-google",
|
||||
{"outboundTag": "tls-repack-dns",
|
||||
"inboundTag": ["dns-query"]
|
||||
},
|
||||
{"outboundTag": "block",
|
||||
|
Loading…
x
Reference in New Issue
Block a user