|
@@ -1,7 +1,7 @@
|
|
|
// Configs here can not contain "bypassing sanctions" contents (inappropriate on US GitHub)
|
|
|
// Please join the official Xray Iranian group https://t.me/projectXhttp to get the whole working configs
|
|
|
|
|
|
-// Serverless with MitM-Domain-Fronting for Iran v1
|
|
|
+// Serverless with MitM-Domain-Fronting for Iran v2
|
|
|
// Xray-core v25.2.21+
|
|
|
|
|
|
// Requires a self-signed-certificate: You can create it using "./xray tls cert -ca -file=mycert" command.
|
|
@@ -42,7 +42,7 @@
|
|
|
"protocol": "socks",
|
|
|
"sniffing": {
|
|
|
"enabled": true,
|
|
|
- "destOverride": ["http", "tls", "quic"],
|
|
|
+ "destOverride": ["http", "tls"],
|
|
|
"routeOnly": false
|
|
|
},
|
|
|
"settings": {"udp": true}
|
|
@@ -235,24 +235,44 @@
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "tag": "udp-noises",
|
|
|
+ "tag": "udp-noisesv4",
|
|
|
"protocol": "freedom",
|
|
|
"settings": {
|
|
|
- "domainStrategy": "ForceIP",
|
|
|
+ "domainStrategy": "ForceIPv4",
|
|
|
"noises": [
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "1"},
|
|
|
- {"type": "rand", "packet": "257-507", "delay": "1"}, {"type": "rand", "packet": "257-507", "delay": "10"}
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}, {"type": "rand", "packet": "1250", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1250", "delay": "10"}
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "tag": "udp-noisesv6",
|
|
|
+ "protocol": "freedom",
|
|
|
+ "settings": {
|
|
|
+ "domainStrategy": "ForceIPv6",
|
|
|
+ "noises": [
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}, {"type": "rand", "packet": "1230", "delay": "10"},
|
|
|
+ {"type": "rand", "packet": "1230", "delay": "10"}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
@@ -274,7 +294,7 @@
|
|
|
"domain": ["geosite:category-ads-all"]
|
|
|
},
|
|
|
{"outboundTag": "block",
|
|
|
- "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", "2001:4188:2:600:10:10:34:34"]
|
|
|
},
|
|
|
{"outboundTag": "direct",
|
|
|
"domain": ["geosite:private", "geosite:category-ir"]
|
|
@@ -315,7 +335,13 @@
|
|
|
"domain": ["geosite:x", "geosite:reddit"],
|
|
|
"inboundTag": ["tls-decrypt-h11", "tls-decrypt-h211"]
|
|
|
},
|
|
|
- {"outboundTag": "udp-noises",
|
|
|
+ {"outboundTag": "udp-noisesv4",
|
|
|
+ "network": "udp", "ip": ["0.0.0.0/0"], "port": 443
|
|
|
+ },
|
|
|
+ {"outboundTag": "udp-noisesv6",
|
|
|
+ "network": "udp", "ip": ["::/0"], "port": 443
|
|
|
+ },
|
|
|
+ {"outboundTag": "direct",
|
|
|
"network": "udp"
|
|
|
},
|
|
|
{"outboundTag": "chain1-fragment", // or "super-fragment"
|