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
remove iran.dat
This commit is contained in:
parent
901e37ab1b
commit
e260d06109
@ -1,10 +1,7 @@
|
|||||||
// Project XHTTP https://t.me/projectXhttp
|
// Project XHTTP https://t.me/projectXhttp
|
||||||
|
|
||||||
// Serverless with mitm for iran v1
|
// Serverless with mitm for iran v1
|
||||||
|
|
||||||
// Requirements -> Xray-core v25.2+, Default Loyalsoldier's geoip and geosite,
|
// Requirements -> Xray-core v25.2+, a self-signed-certificate: you can create with "./xray tls cert -ca -file=mycert" command.
|
||||||
// Iran Hosted Domains: https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/iran.dat,
|
|
||||||
// a self-signed-certificate: you can create with "./xray tls cert -ca -file=mycert" command.
|
|
||||||
// also, the certificate must be imported into "Trusted-Root-Certification-Authorities" of system/browser
|
// also, the certificate must be imported into "Trusted-Root-Certification-Authorities" of system/browser
|
||||||
|
|
||||||
|
|
||||||
@ -72,7 +69,7 @@
|
|||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
"h2c://208.67.222.222/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", "geosite:category-ir"]}
|
||||||
],
|
],
|
||||||
"tag": "dns-query",
|
"tag": "dns-query",
|
||||||
"disableFallback": true
|
"disableFallback": true
|
||||||
@ -322,7 +319,7 @@
|
|||||||
"ip": ["10.10.34.0/24", "2001:4188:2:600:10:10:34:36", "2001:4188:2:600:10:10:34:35"]
|
"ip": ["10.10.34.0/24", "2001:4188:2:600:10:10:34:36", "2001:4188:2:600:10:10:34:35"]
|
||||||
},
|
},
|
||||||
{"outboundTag": "direct",
|
{"outboundTag": "direct",
|
||||||
"domain": ["geosite:private", "ext:iran.dat:all", "geosite:category-ir"]
|
"domain": ["geosite:private", "geosite:category-ir"]
|
||||||
},
|
},
|
||||||
{"outboundTag": "direct",
|
{"outboundTag": "direct",
|
||||||
"ip": ["geoip:private", "geoip:ir"]
|
"ip": ["geoip:private", "geoip:ir"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user