Full Code of malikshi/sing-box-examples for AI

main ea8f2910fafb cached
22 files
92.3 KB
28.3k tokens
1 requests
Download .txt
Repository: malikshi/sing-box-examples
Branch: main
Commit: ea8f2910fafb
Files: 22
Total size: 92.3 KB

Directory structure:
gitextract_yys328ht/

├── BoxForMagisk/
│   ├── README.md
│   └── config.json
├── Compile/
│   └── README.md
├── LICENSE
├── NekoBoxForAndroid/
│   ├── README.md
│   ├── base.json
│   ├── light.json
│   ├── normal.json
│   ├── pro-plus.json
│   ├── pro.json
│   └── ultimate.json
├── README.md
├── Sing-boxForMobile(iOS SFI or Android SFA)/
│   ├── README.md
│   └── sing-box.json
├── Trojan GFW or TLS/
│   └── README.md
├── Trojan Websocket/
│   └── README.md
├── Trojan gRPC/
│   └── README.md
├── VMess Websocket/
│   └── README.md
├── VMess gRPC/
│   └── README.md
├── Vless Websocket/
│   └── README.md
├── Vless gRPC/
│   └── README.md
└── Vless uTLS Reality/
    └── README.md

================================================
FILE CONTENTS
================================================

================================================
FILE: BoxForMagisk/README.md
================================================
# NOTICE !

## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)

  - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db)
  - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db)

## BOX FOR MAGISK

Links: [BFM](https://github.com/taamarin/box_for_magisk)
Group/Channel: [Community](https://taamarin.t.me/)


================================================
FILE: BoxForMagisk/config.json
================================================
{
  "log": {
    "level": "warn",
    "output": "/data/adb/box/run/sing-box.log",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "tag": "Internet-dns",
        "address": "1.0.0.1",
        "strategy": "ipv4_only",
        "detour": "Internet"
      },
      {
        "tag": "Best Latency-dns",
        "address": "1.1.1.1",
        "strategy": "ipv4_only",
        "detour": "Best Latency"
      },
      {
        "tag": "Lock Region ID-dns",
        "address": "8.8.8.8",
        "strategy": "ipv4_only",
        "detour": "Lock Region ID"
      },
      {
        "tag": "WhatsApp-dns",
        "address": "8.8.4.4",
        "strategy": "ipv4_only",
        "detour": "WhatsApp"
      },
      {
        "tag": "GAMESMAX(ML/FF/AOV)-dns",
        "address": "8.8.4.4",
        "strategy": "ipv4_only",
        "detour": "GAMESMAX(ML/FF/AOV)"
      },
      {
        "tag": "Route Port Game-dns",
        "address": "9.9.9.9",
        "strategy": "ipv4_only",
        "detour": "Route Port Game"
      },
      {
        "tag": "direct-dns",
        "address": "149.112.112.112",
        "strategy": "ipv4_only",
        "detour": "direct"
      },
      {
        "tag": "block-dns",
        "address": "rcode://success"
      }
    ],
    "rules": [
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "network": "udp",
        "port": 443,
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "geosite": "rule-malicious",
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Internet",
        "server": "Internet-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Best Latency",
        "server": "Best Latency-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Lock Region ID",
        "server": "Lock Region ID-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "WhatsApp",
        "server": "WhatsApp-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "GAMESMAX(ML/FF/AOV)",
        "server": "GAMESMAX(ML/FF/AOV)-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Route Port Game",
        "server": "Route Port Game-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "direct",
        "server": "direct-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "any",
        "server": "direct-dns",
        "rewrite_ttl": 20
      }
    ],
    "reverse_mapping": true,
    "strategy": "ipv4_only",
    "independent_cache": true
  },
  "inbounds": [
    {
      "type": "tproxy",
      "tag": "tproxy-in",
      "listen": "::",
      "listen_port": 9898,
      "sniff": true
    }
  ],
  "outbounds": [
    {
      "type": "selector",
      "tag": "Internet",
      "outbounds": [
        "Best Latency",
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ]
    },
    {
      "type": "urltest",
      "tag": "Best Latency",
      "outbounds": [
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "1m0s"
    },
    {
      "type": "selector",
      "tag": "Lock Region ID",
      "outbounds": [
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ]
    },
    {
      "type": "selector",
      "tag": "WhatsApp",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "GAMESMAX(ML/FF/AOV)",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "Route Port Game",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "Option ADs",
      "outbounds": [
        "block",
        "Internet"
      ]
    },
    {
      "type": "selector",
      "tag": "Option P0rn",
      "outbounds": [
        "block",
        "Internet"
      ]
    },
    {
      "type": "trojan",
      "tag": "Trojan GFW/TLS",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "type": "trojan",
      "tag": "Trojan WS",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      }
    },
    {
      "type": "vmess",
      "tag": "Vmess WS",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
    },
    {
      "type": "vless",
      "tag": "Vless WS",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "packet_encoding": "xudp"
    },
    {
      "type": "trojan",
      "tag": "Trojan gRPC",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-trojan-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s"
      }
    },
    {
      "type": "vmess",
      "tag": "Vmess gRPC",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-vmess-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s"
      }
    },
    {
      "type": "vless",
      "tag": "Vless gRPC",
      "domain_strategy": "ipv4_only",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "protocol": "smux",
        "max_streams": 32
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-vless-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s"
      },
      "packet_encoding": "xudp"
    },
    {
      "type": "vless",
      "tag": "Vless Reality",
      "domain_strategy": "ipv4_only",
      "server": "IP",
      "server_port": 30000,
      "uuid": "UUID",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "PUBLIC_KEY",
          "short_id": "SHORT_ID"
        }
      },
      "multiplex": {
        "protocol": "h2mux",
        "max_streams": 32
      },
      "packet_encoding": "xudp"
    },
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "block",
      "tag": "block"
    },
    {
      "type": "dns",
      "tag": "dns-out"
    }
  ],
  "route": {
    "geoip": {
      "download_url": "https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db",
      "download_detour": "Best Latency"
    },
    "geosite": {
      "download_url": "https://github.com/malikshi/v2ray-rules-dat/releases/latest/download/geosite.db",
      "download_detour": "Best Latency"
    },
    "rules": [
      {
        "port": 53,
        "outbound": "dns-out"
      },
      {
        "network": "udp",
        "port": 443,
        "outbound": "block"
      },
      {
        "domain_suffix": "googlesyndication.com",
        "outbound": "Internet"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-full"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite": [
          "oisd-nsfw",
          "category-porn"
        ],
        "outbound": "Option P0rn"
      },
      {
        "geosite": "whatsapp",
        "outbound": "WhatsApp"
      },
      {
        "geoip": "facebook",
        "port": [
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "outbound": "WhatsApp"
      },
      {
        "protocol": "stun",
        "outbound": "Internet"
      },
      {
        "geosite": "rule-indo",
        "outbound": "Lock Region ID"
      },
      {
        "network": "udp",
        "port": [
          10003,
          10039,
          10096,
          10100,
          10491,
          10612,
          11455,
          12008,
          12235,
          13004,
          13008,
          13748,
          13894,
          13972,
          17000,
          17500,
          2702,
          3702,
          6006,
          6008,
          6674,
          7889,
          8008,
          8011,
          8130,
          8443,
          9008,
          9030,
          9120,
          9992
        ],
        "outbound": "GAMESMAX(ML/FF/AOV)"
      },
      {
        "network": "udp",
        "port_range": [
          "4001:4009",
          "5000:5221",
          "5224:5241",
          "5243:5287",
          "5289:5352",
          "5354:5509",
          "5517:5529",
          "5551:5559",
          "5601:5700",
          "9000:9010",
          "30000:30300",
          "7006:7008",
          "8001:8012",
          "10000:10015",
          "11000:11019",
          "10101:10201",
          "10080:10110",
          "17000:18000"
        ],
        "outbound": "GAMESMAX(ML/FF/AOV)"
      },
      {
        "network": "tcp",
        "port": [
          10000,
          10003,
          10012,
          10082,
          12006,
          12008,
          13006,
          14000,
          14009,
          14422,
          15006,
          15692,
          16999,
          17000,
          17500,
          18081,
          18082,
          20000,
          20166,
          20371,
          20561,
          2099,
          25000,
          29134,
          30031,
          31003,
          31003,
          33445,
          39003,
          39006,
          39698,
          39779,
          39800,
          40005,
          42472,
          50000,
          5517,
          5692,
          6006,
          6008,
          65010,
          65050,
          6674,
          7889,
          8013,
          8085,
          8088,
          8443,
          8500,
          8888,
          9006,
          9137,
          9339,
          9443
        ],
        "outbound": "Route Port Game"
      },
      {
        "network": "tcp",
        "port_range": [
          "5000:5221",
          "5224:5227",
          "5229:5241",
          "5243:5287",
          "5289:5352",
          "5354:5509",
          "5520:5529",
          "5551:5559",
          "5601:5700",
          "9000:9010",
          "30000:30300",
          "7006:7008",
          "8001:8012",
          "10000:10012",
          "11000:11019",
          "8085:8088",
          "10000:10019",
          "20000:20002",
          "10000:10001",
          "20000:20001",
          "9330:9340",
          "2080:2099",
          "9100:9200",
          "8230:8250",
          "8110:8120",
          "27000:28998",
          "7770:7790",
          "44590:44610",
          "10500:10515",
          "27015:27030",
          "27036:27037",
          "39190:39200",
          "49001:49190",
          "8393:8400"
        ],
        "outbound": "Route Port Game"
      },
      {
        "network": "udp",
        "port": [
          10003,
          10013,
          10019,
          10039,
          10096,
          10100,
          10491,
          10612,
          11455,
          12008,
          12235,
          13004,
          13008,
          13748,
          13894,
          13972,
          14009,
          14422,
          16999,
          17000,
          17500,
          20000,
          25000,
          2702,
          27036,
          29134,
          30000,
          30104,
          3702,
          39000,
          40005,
          42472,
          4380,
          5010,
          5100,
          6006,
          6008,
          6650,
          6674,
          7889,
          8000,
          8008,
          8011,
          8013,
          8088,
          8130,
          8443,
          8700,
          8888,
          9008,
          9030,
          9120,
          9992
        ],
        "outbound": "Route Port Game"
      },
      {
        "network": "udp",
        "port_range": [
          "4001:4009",
          "5000:5221",
          "5224:5241",
          "5243:5287",
          "5289:5352",
          "5354:5509",
          "5517:5529",
          "5551:5559",
          "5601:5700",
          "9000:9010",
          "30000:30300",
          "7006:7008",
          "8001:8012",
          "10000:10015",
          "11000:11019",
          "7086:7995",
          "8011:8013",
          "9030:9031",
          "20000:20002",
          "12070:12460",
          "41182:41192",
          "7500:7995",
          "10010:10019",
          "20000:20001",
          "10101:10201",
          "10080:10110",
          "17000:18000",
          "5055:5058",
          "22101:22102",
          "9330:9340",
          "27000:28998",
          "16300:16350",
          "40000:40010",
          "60970:60980",
          "27000:27031",
          "40000:40010",
          "7000:8000",
          "8180:8181",
          "27016:27024",
          "54000:54012"
        ],
        "outbound": "Route Port Game"
      },
      {
        "geoip": "id",
        "port": [
          21,
          22,
          23,
          80,
          81,
          123,
          143,
          182,
          183,
          194,
          443,
          465,
          587,
          853,
          993,
          995,
          998,
          2052,
          2053,
          2082,
          2083,
          2086,
          2095,
          2096,
          5222,
          5228,
          5229,
          5230,
          8000,
          8080,
          8081,
          8088,
          8443,
          8880,
          8883,
          8888,
          8889,
          42069
        ],
        "outbound": "Lock Region ID"
      },
      {
        "port": [
          21,
          22,
          23,
          80,
          81,
          123,
          143,
          182,
          183,
          194,
          443,
          465,
          587,
          853,
          993,
          995,
          998,
          2052,
          2053,
          2082,
          2083,
          2086,
          2095,
          2096,
          5222,
          5228,
          5229,
          5230,
          8000,
          8080,
          8081,
          8088,
          8443,
          8880,
          8883,
          8888,
          8889,
          42069
        ],
        "outbound": "Internet"
      },
      {
        "port_range": [
          "1023:42068",
          "42070:65535"
        ],
        "outbound": "Route Port Game"
      }
    ],
    "final": "Internet",
    "find_process": true
  },
  "experimental": {
    "clash_api": {
      "external_controller": "0.0.0.0:9090",
      "external_ui": "./dashboard",
      "store_selected": true
    }
  }
}


================================================
FILE: Compile/README.md
================================================

# Select Your Device Architecture

We are give examples for linux amd64 as device for compiling sing-box. target devices when compiling sing-box can be set as long as cgo is enabled.

# Setup Golang

```
LATEST_GO_VERSION=$(curl https://go.dev/VERSION?m=text)
curl -sLo go.tar.gz https://go.dev/dl/$LATEST_GO_VERSION.linux-amd64.tar.gz
tar -C /usr/local -xzf go.tar.gz
rm go.tar.gz
echo -e "export PATH=$PATH:/usr/local/go/bin" > /etc/profile.d/go.sh
source /etc/profile.d/go.sh
go version
```

```
apt install -y build-essential
```

```
go env -w CGO_ENABLED=1
go env
```

# Compiling/Build sing-box

## linux-amd64

```
GOOS=linux GOARCH=amd64 GOAMD64=v2 go install -v -tags with_clash_api,with_grpc,with_utls,with_gvisor,with_wireguard,with_quic,with_dhcp,with_reality_server github.com/sagernet/sing-box/cmd/sing-box@dev-next
```

# windows-amd64

```
GOOS=windows GOARCH=amd64 GOAMD64=v3 go install -v -tags with_clash_api,with_grpc,with_utls,with_gvisor,with_wireguard,with_quic,with_dhcp,with_reality_server github.com/sagernet/sing-box/cmd/sing-box@dev-next
```

[sing-box Build Tag](https://sing-box.sagernet.org/installation/from-source/)

[GOAMD64](https://github.com/golang/go/wiki/MinimumRequirements#amd64)

================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2023 Malik Al

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: NekoBoxForAndroid/README.md
================================================
# NOTICE !

## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)

  - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db)
  - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db)

## MULTIPLEX

server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## EXAMPLE LIST

List Examples to fill proxy A, proxy B, proxy C, proxy D in base.json/config.json

## [Trojan GFW](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20GFW%20or%20TLS/README.md)

## [Trojan Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20Websocket/README.md)

## [Trojan gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20gRPC/README.md)

## [Vmess Websocket](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20Websocket/README.md)

## [Vmess gRPC](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20gRPC/README.md)

## [Vless Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20Websocket/README.md)

## [Vless gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20gRPC/README.md)


## HOW TO FILL PROXY A, B, C, D

Since many people doesn't understand json that well so added how to fill proxy a, b, c, d in sing-box format
```json
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",

      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",

      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",

      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",

      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
    }
```

================================================
FILE: NekoBoxForAndroid/base.json
================================================
{
  "dns": {
    "rules": [
      {
        "domain_suffix":[
          "googlesyndication.com"
        ],
        "server":"dns-remote"
      },
      {
        "geosite": [
          "rule-ads"
        ],
        "server": "dns-block"
      },
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "proxy",
    "rules": [
      {
        "network": "udp",
        "outbound": "block",
        "port": [
          443
        ]
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "proxy"
      },
      {
        "geosite": [
          "rule-ads"
        ],
        "outbound": "block"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "proxy"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: NekoBoxForAndroid/light.json
================================================
{
  "dns": {
    "rules": [
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "tag": "Internet",
      "type": "selector",
      "outbounds":[
        "Best Latency",
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Best Latency",
      "type": "urltest",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "60s",
      "tolerance": 0
    },
    {
      "tag": "Lock Region ID",
      "type": "selector",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Option ADs",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "tag": "Option P0rn",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "Internet",
    "rules": [
      {
        "network": "udp",
        "outbound": "block",
        "port": [
          443
        ]
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite": [
          "rule-ads"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "category-porn"
        ],
        "outbound":"Option P0rn"
      },
      {
        "port":[
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "geoip":[
          "facebook"
        ],
        "outbound":"bypass"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "Internet"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: NekoBoxForAndroid/normal.json
================================================
{
  "dns": {
    "rules": [
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "tag": "Internet",
      "type": "selector",
      "outbounds":[
        "Best Latency",
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Best Latency",
      "type": "urltest",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "60s",
      "tolerance": 0
    },
    {
      "tag": "Lock Region ID",
      "type": "selector",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Option ADs",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "tag": "Option P0rn",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "",
      "tag": "proxy A",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "",
      "tag": "proxy B",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "",
      "tag": "proxy C",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "",
      "tag": "proxy D",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "Internet",
    "rules": [
      {
        "network": "udp",
        "geosite":[
          "google"
        ],
        "geoip":[
          "google"
        ],
        "port": [
          443
        ],
        "outbound": "block"
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-small"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "oisd-nsfw"
        ],
        "outbound":"Option P0rn"
      },
      {
        "port":[
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "geoip":[
          "facebook"
        ],
        "outbound":"bypass"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "Internet"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: NekoBoxForAndroid/pro-plus.json
================================================
{
  "dns": {
    "rules": [
      {
        "geosite":[
          "rule-malicious"
        ],
        "server":"dns-block"
      },
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "tag": "Internet",
      "type": "selector",
      "outbounds":[
        "Best Latency",
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Best Latency",
      "type": "urltest",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "60s",
      "tolerance": 0
    },
    {
      "tag": "Lock Region ID",
      "type": "selector",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Option ADs",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "tag": "Option P0rn",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "Internet",
    "rules": [
      {
        "network": "udp",
        "geosite":[
          "google"
        ],
        "geoip":[
          "google"
        ],
        "port": [
          443
        ],
        "outbound": "block"
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite":[
          "rule-malicious"
        ],
        "outbound":"block"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-full",
          "category-ads-all"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "oisd-nsfw",
          "category-porn"
        ],
        "outbound":"Option P0rn"
      },
      {
        "port":[
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "geoip":[
          "facebook"
        ],
        "outbound":"bypass"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "geoip":[
          "id"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "Internet"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: NekoBoxForAndroid/pro.json
================================================
{
  "dns": {
    "rules": [
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "tag": "Internet",
      "type": "selector",
      "outbounds":[
        "Best Latency",
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Best Latency",
      "type": "urltest",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "60s",
      "tolerance": 0
    },
    {
      "tag": "Lock Region ID",
      "type": "selector",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Option ADs",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "tag": "Option P0rn",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "Internet",
    "rules": [
      {
        "network": "udp",
        "geosite":[
          "google"
        ],
        "geoip":[
          "google"
        ],
        "port": [
          443
        ],
        "outbound": "block"
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-full"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "oisd-nsfw"
        ],
        "outbound":"Option P0rn"
      },
      {
        "port":[
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "geoip":[
          "facebook"
        ],
        "outbound":"bypass"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "geoip":[
          "id"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "Internet"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: NekoBoxForAndroid/ultimate.json
================================================
{
  "dns": {
    "rules": [
      {
        "geosite":[
          "rule-malicious"
        ],
        "server":"dns-block"
      },
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "dns-block"
      }
    ],
    "servers": [
      {
        "address": "8.8.8.8",
        "address_resolver": "dns-direct",
        "strategy": "ipv4_only",
        "tag": "dns-remote"
      },
      {
        "address": "1.1.1.1",
        "address_resolver": "dns-local",
        "detour": "direct",
        "strategy": "ipv4_only",
        "tag": "dns-direct"
      },
      {
        "address": "underlying://0.0.0.0",
        "detour": "direct",
        "tag": "dns-local"
      },
      {
        "address": "rcode://success",
        "tag": "dns-block"
      }
    ],
    "strategy": "ipv4_only"
  },
  "experimental": {
    "clash_api": {
      "cache_file": "../cache/clash.db",
      "external_controller": "127.0.0.1:9090",
      "external_ui": "../files/yacd"
    }
  },
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 6450,
      "override_address": "8.8.8.8",
      "override_port": 53,
      "tag": "dns-in",
      "type": "direct"
    },
    {
      "domain_strategy":"ipv4_only",
      "endpoint_independent_nat": true,
      "inet4_address": [
        "172.19.0.1/28"
      ],
      "sniff": true,
      "stack": "system",
      "tag": "tun-in",
      "type": "tun"
    },
    {
      "domain_strategy":"ipv4_only",
      "listen": "127.0.0.1",
      "listen_port": 2080,
      "sniff": true,
      "tag": "mixed-in",
      "type": "mixed"
    }
  ],
  "log":{
    "level": "info"
  },
  "outbounds": [
    {
      "tag": "Internet",
      "type": "selector",
      "outbounds":[
        "Best Latency",
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Best Latency",
      "type": "urltest",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "60s",
      "tolerance": 0
    },
    {
      "tag": "Lock Region ID",
      "type": "selector",
      "outbounds":[
        "proxy A",
        "proxy B",
        "proxy C",
        "proxy D"
      ]
    },
    {
      "tag": "Option ADs",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "tag": "Option P0rn",
      "type": "selector",
      "outbounds":[
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",
      // place 1 account here
      // check example account at our repo
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",
      // place 1 account here
      // check example account at our repo
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "bypass",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "Internet",
    "rules": [
      {
        "network": "udp",
        "geosite":[
          "google"
        ],
        "geoip":[
          "google"
        ],
        "port": [
          443
        ],
        "outbound": "block"
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite":[
          "rule-malicious"
        ],
        "outbound":"block"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-full",
          "category-ads-all"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "oisd-nsfw",
          "category-porn"
        ],
        "outbound":"Option P0rn"
      },
      {
        "port":[
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "geoip":[
          "facebook"
        ],
        "outbound":"bypass"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "geoip":[
          "id"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "ip_cidr": [
          "8.8.8.8"
        ],
        "outbound": "Internet"
      },
      {
        "inbound": [
          "dns-in"
        ],
        "outbound": "dns-out"
      },
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ],
        "outbound": "block",
        "source_ip_cidr": [
          "224.0.0.0/3",
          "ff00::/8"
        ]
      }
    ]
  }
}

================================================
FILE: README.md
================================================
# sing-box-examples
sing-box examples!
Just another set of example client for sing-box.

================================================
FILE: Sing-boxForMobile(iOS SFI or Android SFA)/README.md
================================================
# NOTICE !

## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)

  - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db)
  - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db)


## MULTIPLEX

server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Below Android 10 / Non-privileged

Changes inbound TUN become like this

```json
    {
      "type": "tun",
      "tag": "tun-in",
      "interface_name": "tun0",
      "inet4_address": "172.19.0.1/30",
      "inet6_address": "fdfe:dcba:9876::1/126",
      "mtu": 30000,
      "auto_route": true,
      "strict_route": true,
      "endpoint_independent_nat": true,
      "stack": "gvisor",
      "sniff": true,
      "domain_strategy":"ipv4_only"
    }
```

## EXAMPLE LIST

List Examples to fill proxy A, proxy B, proxy C, proxy D in base.json/config.json

## [Trojan GFW](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20GFW%20or%20TLS/README.md)

## [Trojan Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20Websocket/README.md)

## [Trojan gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20gRPC/README.md)

## [Vmess Websocket](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20Websocket/README.md)

## [Vmess gRPC](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20gRPC/README.md)

## [Vless Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20Websocket/README.md)

## [Vless gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20gRPC/README.md)


## HOW TO FILL PROXY A, B, C, D

Since many people doesn't understand json that well so added how to fill proxy a, b, c, d in sing-box format
```json
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy A",

      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy B",

      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy C",

      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "proxy D",

      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
    }
```

================================================
FILE: Sing-boxForMobile(iOS SFI or Android SFA)/sing-box.json
================================================
{
  "log": {
    "disabled": false,
    "level": "warn",
    "timestamp": true
  },
  "experimental": {
    "clash_api": {
      "external_controller": "0.0.0.0:9090",
      "external_ui": "yacd",
      "external_ui_download_url": "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip",
      "external_ui_download_detour": "Internet",
      "secret": "VVIPIPTUNNELS",
      "default_mode": "rule",
      "store_selected": true,
      "cache_file": "clash.db"
    }
  },
  "dns": {
    "servers": [
      {
        "tag": "Internet-dns",
        "address": "1.0.0.1",
        "strategy": "ipv4_only",
        "detour": "Internet"
      },
      {
        "tag": "Best Latency-dns",
        "address": "1.1.1.1",
        "strategy": "ipv4_only",
        "detour": "Best Latency"
      },
      {
        "tag": "Lock Region ID-dns",
        "address": "8.8.8.8",
        "strategy": "ipv4_only",
        "detour": "Lock Region ID"
      },
      {
        "tag": "WhatsApp-dns",
        "address": "8.8.4.4",
        "strategy": "ipv4_only",
        "detour": "WhatsApp"
      },
      {
        "tag": "GAMESMAX(ML/FF/AOV)-dns",
        "address": "8.8.4.4",
        "strategy": "ipv4_only",
        "detour": "GAMESMAX(ML/FF/AOV)"
      },
      {
        "tag": "Route Port Game-dns",
        "address": "9.9.9.9",
        "strategy": "ipv4_only",
        "detour": "Route Port Game"
      },
      {
        "tag": "direct-dns",
        "address": "149.112.112.112",
        "strategy": "ipv4_only",
        "detour": "direct"
      },
      {
        "tag": "block-dns",
        "address": "rcode://success"
      }
    ],
    "rules": [
      {
        "domain_suffix": [
          ".arpa.",
          ".arpa"
        ],
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "network": "udp",
        "port": 443,
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "geosite": "rule-malicious",
        "server": "block-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Internet",
        "server": "Internet-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Best Latency",
        "server": "Best Latency-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Lock Region ID",
        "server": "Lock Region ID-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "WhatsApp",
        "server": "WhatsApp-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "GAMESMAX(ML/FF/AOV)",
        "server": "GAMESMAX(ML/FF/AOV)-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "Route Port Game",
        "server": "Route Port Game-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "direct",
        "server": "direct-dns",
        "rewrite_ttl": 20
      },
      {
        "outbound": "any",
        "server": "direct-dns",
        "rewrite_ttl": 20
      }
    ],
    "reverse_mapping": true,
    "strategy": "ipv4_only",
    "independent_cache": true
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "interface_name": "tun0",
      "inet4_address": "172.19.0.1/30",
      "inet6_address": "fdfe:dcba:9876::1/126",
      "mtu": 1358,
      "auto_route": true,
      "strict_route": true,
      "stack": "gvisor",
      "endpoint_independent_nat": true,
      "sniff": true
    }
  ],
  "outbounds": [
    {
      "type": "selector",
      "tag": "Internet",
      "outbounds": [
        "Best Latency",
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ]
    },
    {
      "type": "urltest",
      "tag": "Best Latency",
      "outbounds": [
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ],
      "url": "https://detectportal.firefox.com/success.txt",
      "interval": "1m0s"
    },
    {
      "type": "selector",
      "tag": "Lock Region ID",
      "outbounds": [
        "Trojan GFW/TLS",
        "Trojan WS",
        "Vmess WS",
        "Vless WS",
        "Trojan gRPC",
        "Vmess gRPC",
        "Vless gRPC",
        "Vless Reality"
      ]
    },
    {
      "type": "selector",
      "tag": "WhatsApp",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "GAMESMAX(ML/FF/AOV)",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "Route Port Game",
      "outbounds": [
        "direct",
        "Internet",
        "Best Latency",
        "Lock Region ID"
      ]
    },
    {
      "type": "selector",
      "tag": "Option ADs",
      "outbounds": [
        "block",
        "Internet"
      ]
    },
    {
      "type": "selector",
      "tag": "Option P0rn",
      "outbounds": [
        "block",
        "Internet"
      ]
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Trojan GFW/TLS",
// https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20GFW%20or%20TLS
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Trojan WS",
// https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20Websocket
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
// non tls : remove array tls
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Vmess WS",
// https://github.com/malikshi/sing-box-examples/tree/main/VMess%20Websocket
      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
// non tls : remove array tls
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Vless WS",

      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Trojan gRPC",
// https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20gRPC
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-trojan-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Vmess gRPC",
// https://github.com/malikshi/sing-box-examples/tree/main/VMess%20gRPC
      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vmess-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Vless gRPC",
// https://github.com/malikshi/sing-box-examples/tree/main/Vless%20gRPC
      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": false,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vless-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      }
    },
    {
      "domain_strategy": "ipv4_only",
      "tag": "Vless Reality",
// https://github.com/malikshi/sing-box-examples/tree/main/Vless%20uTLS%20Reality
      "type": "vless",
      "server": "IP",
      "server_port": 30000,
      "uuid": "UUID",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "PUBLIC_KEY",
          "short_id": "SHORT_ID"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "h2mux",
        "max_streams": 32
      },
      "packet_encoding": "xudp"
    },
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "block",
      "tag": "block"
    },
    {
      "type": "dns",
      "tag": "dns-out"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "override_android_vpn": true,
    "final": "Internet",
    "geoip": {
      "download_url": "https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db",
      "download_detour": "Best Latency"
    },
    "geosite": {
      "download_url": "https://github.com/malikshi/v2ray-rules-dat/releases/latest/download/geosite.db",
      "download_detour": "Best Latency"
    },
    "rules": [
      {
        "outbound": "dns-out",
        "port": [
          53
        ]
      },
      {
        "network":"udp",
        "port":[443],
        "outbound":"block"
      },
      {
        "domain_suffix": [
          "googlesyndication.com"
        ],
        "outbound": "Internet"
      },
      {
        "geosite": [
          "rule-ads",
          "oisd-full"
        ],
        "outbound": "Option ADs"
      },
      {
        "geosite":[
          "oisd-nsfw",
          "category-porn"
        ],
        "outbound":"Option P0rn"
      },
      {
        "geosite": "whatsapp",
        "outbound": "WhatsApp"
      },
      {
        "geoip": "facebook",
        "port": [
          3478,
          4244,
          5222,
          5223,
          5242,
          45395,
          50318,
          59234
        ],
        "outbound": "WhatsApp"
      },
      {
        "protocol":"stun",
        "outbound":"Internet"
      },
      {
        "geosite":[
          "rule-indo"
        ],
        "outbound":"Lock Region ID"
      },
      {
        "network":"udp",
        "port":[
          2702,3702,8443,9120,9992,10003, // MLBB
          6006,6008,6674,7889,8008,8130,8443,9008,9120,10100,12008,13008, // FF
          8011,9030,10491,10612,12235,13004,13748,17000,17500,10039,10096,11455,13894,13972 // AOV
        ],
        "port_range":[
          "4001:4009","5000:5221","5224:5241","5243:5287","5289:5352","5354:5509","5517:5529","5551:5559","5601:5700","9000:9010","30000:30300", // MLBB
          "7006:7008","8001:8012","10000:10015","11000:11019", // FF
          "10101:10201","10080:10110","17000:18000" // AOV
        ],
        "outbound":"GAMESMAX(ML/FF/AOV)"
      },
      {
        "network":"tcp",
        "port":[
          5517,8443,9443,10003, //MLBB
          6006,6008,6674,7889,9006,9137,12006,12008,13006,15006,20561,39003,39006,39698,39779,39800, //FF
          10012,14000,15692,17000,17500,18081,20371, // PUBG Mobile
          8013,8085,18082,20000,50000,65010,65050, //CODM Garena
          8013,18082,20166,31003,33445,50000, //AOV Garena
          42472, //Genshin Impact
          14422, //Bleach ES
          16999, //growrtopia
          8013,8888, //apex|ff|mlbb|pubg
          30031, //Tower of Fantasy (chrome)
          14009,40005, //LOST SAGA PC/GN
          9339, //Supercell Games
          2099,8088, //Valorant
          5692,8085,8500,10000,10082,20000,25000,29134,31003 //Honor of Kings
        ],
        "port_range":[
          "5000:5221","5224:5227","5229:5241","5243:5287","5289:5352","5354:5509","5520:5529","5551:5559","5601:5700","9000:9010","30000:30300", //MLBB
          "7006:7008","8001:8012","10000:10012","11000:11019", //FF
          "8085:8088","10000:10019","20000:20002", //PUBG Mobile
          "10000:10001","20000:20001", //AOV Garena
          "9330:9340", //Clash of Clans (COC) & Clash Royale
          "2080:2099", //League of Legends (LOL) Mobile
          "9100:9200","8230:8250","8110:8120","27000:28998", //DOTA2
          "7770:7790", //FIFA ONLINE
          "44590:44610", //Point Blank Mobile (PB:Mobile)
          "10500:10515", //LINE Let’s Get Rich
          "27015:27030","27036:27037", //Among Us
          "39190:39200","49001:49190", //PB Zeppeto PB PC
          "8393:8400" //Valorant
        ],
        "outbound":"Route Port Game"
      },
      {
        "network":"udp",
        "port":[
          2702,3702,8443,9120,9992,10003, // MLBB
          6006,6008,6674,7889,8008,8130,8443,9008,9120,10100,12008,13008, //FF
          8700,10013,10019,10039,10096,10491,10612,11455,12235,13748,13894,13972,17000,17500, //PUBG Mobile
          8700,9030, //CODM Garena
          8011,9030,10491,10612,12235,13004,13748,17000,17500,10039,10096,11455,13894,13972, // AOV
          42472, //Genshin Impact
          5100, //League of Legends (LOL) Mobile
          39000, //DOTA2
          4380,27036, //Among Us
          14422, //Bleach ES
          16999, //growrtopia
          8013,8888, // apex|ff|mlbb|pubg
          8000,30104, //Tower of Fantasy (chrome)
          14009,40005, //LOST SAGA PC/GN
          8088, //Valorant
          5010,6650,8011,8700,20000,25000,29134,30000 //Honor of Kings
        ],
        "port_range":[
          "4001:4009","5000:5221","5224:5241","5243:5287","5289:5352","5354:5509","5517:5529","5551:5559","5601:5700","9000:9010","30000:30300", // MLBB
          "7006:7008","8001:8012","10000:10015","11000:11019", //FF
          "7086:7995","8011:8013","9030:9031","20000:20002","12070:12460","41182:41192", //PUBG Mobile
          "7500:7995","10010:10019","20000:20001", //CODM Garena
          "10101:10201","10080:10110","17000:18000", // AOV
          "5055:5058", //Stumble Guys
          "22101:22102", //Genshin Impact
          "9330:9340", //Clash of Clans (COC) & Clash Royale
          "27000:28998", //DOTA2
          "16300:16350", //FIFA ONLINE
          "40000:40010", //Point Blank Mobile (PB:Mobile)
          "60970:60980", //Dream League Soccer
          "27000:27031", //Among Us
          "40000:40010", //PB Zeppeto PB PC
          "7000:8000","8180:8181","27016:27024","54000:54012" //Valorant
        ],
        "outbound":"Route Port Game"
      },
      {
        "geoip":[
          "id"
        ],
        "port":[21,22,23,80,81,123,143,182,183,194,443,465,587,853,993,995,998,2052,2053,2082,2083,2086,2095,2096,5222,5228,5229,5230,8000,8080,8081,8088,8443,8880,8883,8888,8889,42069],
        "outbound":"Lock Region ID"
      },
      {"port":[21,22,23,80,81,123,143,182,183,194,443,465,587,853,993,995,998,2052,2053,2082,2083,2086,2095,2096,5222,5228,5229,5230,8000,8080,8081,8088,8443,8880,8883,8888,8889,42069],"outbound":"Internet"}, // Common Ports
      {"port_range":["1023:42068","42070:65535"],"outbound":"Route Port Game"} // ports games
    ]
  }
}

================================================
FILE: Trojan GFW or TLS/README.md
================================================
# Trojan TLS/GFW
## Trojan TLS/GFW SNI
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- TARGETDOMAIN: **Fill with domain target SNI**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`


================================================
FILE: Trojan Websocket/README.md
================================================
# Trojan Websocket
## Trojan Websocket over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Trojan Websocket SNI
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- TARGETDOMAIN: **Fill with domain target SNI**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Trojan Websocket NON TLS over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "password": "PASSWORD",
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Trojan Websocket NON TLS
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "transport": {
        "type": "ws",
        "path": "/buy-trojan-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "TARGETDOMAIN"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

================================================
FILE: Trojan gRPC/README.md
================================================
# Trojan gRPC
## Trojan gRPC over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-trojan-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- YOURDOMAINSERVER: **Fill with domain of your server**
- service_name: **fill with grpc servicename**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Trojan gRPC SNI
```json
{
      "tag": "proxy A",
      "type": "trojan",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "password": "PASSWORD",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "transport": {
        "type": "grpc",
        "service_name": "buy-trojan-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- TARGETDOMAIN: **Fill with domain target SNI**
- service_name: **fill with grpc servicename**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

================================================
FILE: VMess Websocket/README.md
================================================
# Vmess Websocket
## Vmess Websocket TLS over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Vmess Websocket TLS SNI
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target SNI**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Vmess Websocket NON TLS over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 80,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Vmess Websocket NON TLS
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 80,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "packet_encoding": "",
      "transport": {
        "type": "ws",
        "path": "/buy-vmess-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target**
- path: **Fill with path of your websocket server**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

================================================
FILE: VMess gRPC/README.md
================================================
# Vmess gRPC
## Vmess gRPC over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vmess-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- service_name: **fill with grpc servicename**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

## Vmess gRPC SNI
```json
{
      "tag": "proxy A",
      "type": "vmess",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "security": "auto",
      "alter_id": 0,
      "global_padding": false,
      "authenticated_length": true,
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "packet_encoding": "",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vmess-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target SNI**
- service_name: **fill with grpc servicename**
- server sing-box supports multiplex, if your server is not sing-box set multiplex to `false`

================================================
FILE: Vless Websocket/README.md
================================================
# Vless Websocket
## Vless Websocket TLS over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**

## Vless Websocket TLS SNI
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target SNI**
- path: **Fill with path of your websocket server**

## Vless Websocket NON TLS over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 80,
      "uuid": "UUID",
      "flow": "",
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- path: **Fill with path of your websocket server**

## Vless Websocket NON TLS
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 80,
      "uuid": "UUID",
      "flow": "",
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "ws",
        "path": "/buy-vless-ws-pm-telegram-at-synricha",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target**
- path: **Fill with path of your websocket server**

================================================
FILE: Vless gRPC/README.md
================================================
# Vless gRPC
## Vless gRPC over CDN Cloudlfare
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/HOSTED CDN FROM CLOUDFLARE",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "YOURDOMAINSERVER",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vless-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      }
}
```
NOTE:
- IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN**
- UUID: **Please fill with your UUID**
- YOURDOMAINSERVER: **Fill with domain of your server**
- service_name: **fill with grpc servicename**

## Vless gRPC SNI
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP/YOURDOMAINSERVER",
      "server_port": 443,
      "uuid": "UUID",
      "flow": "",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN",
        "insecure": true,
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "smux",
        "max_streams": 32
      },
      "packet_encoding": "xudp",
      "transport": {
        "type": "grpc",
        "service_name": "buy-vless-grpc-pm-telegram-at-synricha",
        "idle_timeout": "15s",
        "ping_timeout": "15s",
        "permit_without_stream": false
      }
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP/Domain of your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target SNI**
- service_name: **fill with grpc servicename**

================================================
FILE: Vless uTLS Reality/README.md
================================================
# Vless Reality
## Vless uTLS Reality
```json
{
      "tag": "proxy A",
      "type": "vless",
      "server": "IP",
      "server_port": 30000, //change to your server port
      "uuid": "UUID",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "TARGETDOMAIN", // target domain client must match with server setting
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "PUBLIC_KEY", // change to public key of your account
          "short_id": "SHORT_ID" // change to short id of your account
        }
      },
      "multiplex": {
        "enabled": false,
        "protocol": "h2mux",
        "max_streams": 32
      },
      "packet_encoding": "xudp"
}
```
NOTE:
- IP/YOURDOMAINSERVER: **Please select IP your server**
- UUID: **Please fill with your UUID**
- TARGETDOMAIN: **Fill with domain target matched with server setting**
- public_key: **Fill with public key of your account**
- short_id: **Fill with short id of your account**

Download .txt
gitextract_yys328ht/

├── BoxForMagisk/
│   ├── README.md
│   └── config.json
├── Compile/
│   └── README.md
├── LICENSE
├── NekoBoxForAndroid/
│   ├── README.md
│   ├── base.json
│   ├── light.json
│   ├── normal.json
│   ├── pro-plus.json
│   ├── pro.json
│   └── ultimate.json
├── README.md
├── Sing-boxForMobile(iOS SFI or Android SFA)/
│   ├── README.md
│   └── sing-box.json
├── Trojan GFW or TLS/
│   └── README.md
├── Trojan Websocket/
│   └── README.md
├── Trojan gRPC/
│   └── README.md
├── VMess Websocket/
│   └── README.md
├── VMess gRPC/
│   └── README.md
├── Vless Websocket/
│   └── README.md
├── Vless gRPC/
│   └── README.md
└── Vless uTLS Reality/
    └── README.md
Condensed preview — 22 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (107K chars).
[
  {
    "path": "BoxForMagisk/README.md",
    "chars": 399,
    "preview": "# NOTICE !\n\n## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)\n\n  - [GEOSITE](https://github."
  },
  {
    "path": "BoxForMagisk/config.json",
    "chars": 18047,
    "preview": "{\n  \"log\": {\n    \"level\": \"warn\",\n    \"output\": \"/data/adb/box/run/sing-box.log\",\n    \"timestamp\": true\n  },\n  \"dns\": {\n"
  },
  {
    "path": "Compile/README.md",
    "chars": 1222,
    "preview": "\n# Select Your Device Architecture\n\nWe are give examples for linux amd64 as device for compiling sing-box. target device"
  },
  {
    "path": "LICENSE",
    "chars": 1065,
    "preview": "MIT License\n\nCopyright (c) 2023 Malik Al\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\no"
  },
  {
    "path": "NekoBoxForAndroid/README.md",
    "chars": 3978,
    "preview": "# NOTICE !\n\n## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)\n\n  - [GEOSITE](https://github."
  },
  {
    "path": "NekoBoxForAndroid/base.json",
    "chars": 3088,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"domain_suffix\":[\n          \"googlesyndication.com\"\n        ],\n        \"serv"
  },
  {
    "path": "NekoBoxForAndroid/light.json",
    "chars": 4699,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"domain_suffix\": [\n          \".arpa.\",\n          \".arpa\"\n        ],\n        "
  },
  {
    "path": "NekoBoxForAndroid/normal.json",
    "chars": 4781,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"domain_suffix\": [\n          \".arpa.\",\n          \".arpa\"\n        ],\n        "
  },
  {
    "path": "NekoBoxForAndroid/pro-plus.json",
    "chars": 5176,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"geosite\":[\n          \"rule-malicious\"\n        ],\n        \"server\":\"dns-bloc"
  },
  {
    "path": "NekoBoxForAndroid/pro.json",
    "chars": 4913,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"domain_suffix\": [\n          \".arpa.\",\n          \".arpa\"\n        ],\n        "
  },
  {
    "path": "NekoBoxForAndroid/ultimate.json",
    "chars": 5176,
    "preview": "{\n  \"dns\": {\n    \"rules\": [\n      {\n        \"geosite\":[\n          \"rule-malicious\"\n        ],\n        \"server\":\"dns-bloc"
  },
  {
    "path": "README.md",
    "chars": 87,
    "preview": "# sing-box-examples\nsing-box examples!\nJust another set of example client for sing-box."
  },
  {
    "path": "Sing-boxForMobile(iOS SFI or Android SFA)/README.md",
    "chars": 4440,
    "preview": "# NOTICE !\n\n## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo)\n\n  - [GEOSITE](https://github."
  },
  {
    "path": "Sing-boxForMobile(iOS SFI or Android SFA)/sing-box.json",
    "chars": 18007,
    "preview": "{\n  \"log\": {\n    \"disabled\": false,\n    \"level\": \"warn\",\n    \"timestamp\": true\n  },\n  \"experimental\": {\n    \"clash_api\":"
  },
  {
    "path": "Trojan GFW or TLS/README.md",
    "chars": 724,
    "preview": "# Trojan TLS/GFW\n## Trojan TLS/GFW SNI\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"trojan\",\n      \"server\": \"IP/YOU"
  },
  {
    "path": "Trojan Websocket/README.md",
    "chars": 3585,
    "preview": "# Trojan Websocket\n## Trojan Websocket over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"trojan\",\n   "
  },
  {
    "path": "Trojan gRPC/README.md",
    "chars": 2030,
    "preview": "# Trojan gRPC\n## Trojan gRPC over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"trojan\",\n      \"server"
  },
  {
    "path": "VMess Websocket/README.md",
    "chars": 4204,
    "preview": "# Vmess Websocket\n## Vmess Websocket TLS over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"vmess\",\n  "
  },
  {
    "path": "VMess gRPC/README.md",
    "chars": 2371,
    "preview": "# Vmess gRPC\n## Vmess gRPC over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"vmess\",\n      \"server\": "
  },
  {
    "path": "Vless Websocket/README.md",
    "chars": 3460,
    "preview": "# Vless Websocket\n## Vless Websocket TLS over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"vless\",\n  "
  },
  {
    "path": "Vless gRPC/README.md",
    "chars": 1999,
    "preview": "# Vless gRPC\n## Vless gRPC over CDN Cloudlfare\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"vless\",\n      \"server\": "
  },
  {
    "path": "Vless uTLS Reality/README.md",
    "chars": 1099,
    "preview": "# Vless Reality\n## Vless uTLS Reality\n```json\n{\n      \"tag\": \"proxy A\",\n      \"type\": \"vless\",\n      \"server\": \"IP\",\n   "
  }
]

About this extraction

This page contains the full source code of the malikshi/sing-box-examples GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 22 files (92.3 KB), approximately 28.3k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!