Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-02-21 13:47:52 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-21 13:47:52 +0300
commit03b7a3479394f54a2e793f23f35e0f2b8a4b4a6a (patch)
tree72e4bd1e7201f90bc118b8ee0f2bc86d4718bb97 /sub/default.json
parentf3eb4f055db80372298d60c073870a5af1431785 (diff)
[sub] json + fragment
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'sub/default.json')
-rw-r--r--sub/default.json105
1 files changed, 105 insertions, 0 deletions
diff --git a/sub/default.json b/sub/default.json
new file mode 100644
index 00000000..ba13f6fb
--- /dev/null
+++ b/sub/default.json
@@ -0,0 +1,105 @@
+{
+ "dns": {
+ "tag": "dns_out",
+ "queryStrategy": "UseIP",
+ "servers": [
+ {
+ "address": "8.8.8.8",
+ "skipFallback": false
+ }
+ ]
+ },
+ "inbounds": [
+ {
+ "port": 10808,
+ "protocol": "socks",
+ "settings": {
+ "auth": "noauth",
+ "udp": true,
+ "userLevel": 8
+ },
+ "sniffing": {
+ "destOverride": [
+ "http",
+ "tls",
+ "fakedns"
+ ],
+ "enabled": true
+ },
+ "tag": "socks"
+ },
+ {
+ "port": 10809,
+ "protocol": "http",
+ "settings": {
+ "userLevel": 8
+ },
+ "tag": "http"
+ }
+ ],
+ "log": {
+ "loglevel": "warning"
+ },
+ "outbounds": [
+ {
+ "tag": "direct",
+ "protocol": "freedom",
+ "settings": {
+ "domainStrategy": "UseIP"
+ }
+ },
+ {
+ "tag": "block",
+ "protocol": "blackhole",
+ "settings": {
+ "response": {
+ "type": "http"
+ }
+ }
+ }
+ ],
+ "policy": {
+ "levels": {
+ "8": {
+ "connIdle": 300,
+ "downlinkOnly": 1,
+ "handshake": 4,
+ "uplinkOnly": 1
+ }
+ },
+ "system": {
+ "statsOutboundUplink": true,
+ "statsOutboundDownlink": true
+ }
+ },
+ "routing": {
+ "domainStrategy": "AsIs",
+ "rules": [
+ {
+ "type": "field",
+ "network": "tcp,udp",
+ "balancerTag": "all"
+ }
+ ],
+ "balancers": [
+ {
+ "tag": "all",
+ "selector": [
+ "proxy"
+ ],
+ "strategy": {
+ "type": "leastPing"
+ }
+ }
+ ]
+ },
+ "observatory": {
+ "probeInterval": "5m",
+ "probeURL": "https://api.github.com/_private/browser/stats",
+ "subjectSelector": [
+ "proxy"
+ ],
+ "EnableConcurrency": true
+ },
+ "stats": {}
+} \ No newline at end of file