mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-04-05 03:19: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"]
|
"geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"]
|
||||||
},
|
},
|
||||||
"servers": [
|
"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"]}
|
{"address": "localhost", "domains": ["geosite:private", "ext:iran.dat:all", "geosite:category-ir"]}
|
||||||
],
|
],
|
||||||
"tag": "dns-query",
|
"tag": "dns-query",
|
||||||
@ -85,7 +85,7 @@
|
|||||||
"port": 10853,
|
"port": 10853,
|
||||||
"protocol": "dokodemo-door",
|
"protocol": "dokodemo-door",
|
||||||
"settings": {
|
"settings": {
|
||||||
"address": "8.8.8.8",
|
"address": "208.67.222.222",
|
||||||
"port": 53,
|
"port": 53,
|
||||||
"network": "tcp,udp"
|
"network": "tcp,udp"
|
||||||
}
|
}
|
||||||
@ -172,7 +172,21 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"redirect": "127.0.0.1:4432"
|
"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",
|
"tag": "tls-repack-google",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
@ -218,7 +232,7 @@
|
|||||||
{
|
{
|
||||||
"tag": "dns-out",
|
"tag": "dns-out",
|
||||||
"protocol": "dns",
|
"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": {
|
"streamSettings": {
|
||||||
"sockopt": {
|
"sockopt": {
|
||||||
"dialerProxy": "super-fragment"
|
"dialerProxy": "super-fragment"
|
||||||
@ -302,7 +316,7 @@
|
|||||||
{"outboundTag": "dns-out",
|
{"outboundTag": "dns-out",
|
||||||
"inboundTag": ["socks-in"], "port": 53
|
"inboundTag": ["socks-in"], "port": 53
|
||||||
},
|
},
|
||||||
{"outboundTag": "tls-repack-google",
|
{"outboundTag": "tls-repack-dns",
|
||||||
"inboundTag": ["dns-query"]
|
"inboundTag": ["dns-query"]
|
||||||
},
|
},
|
||||||
{"outboundTag": "block",
|
{"outboundTag": "block",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user