├── 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 /BoxForMagisk/README.md: -------------------------------------------------------------------------------- 1 | # NOTICE ! 2 | 3 | ## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo) 4 | 5 | - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db) 6 | - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db) 7 | 8 | ## BOX FOR MAGISK 9 | 10 | Links: [BFM](https://github.com/taamarin/box_for_magisk) 11 | Group/Channel: [Community](https://taamarin.t.me/) 12 | -------------------------------------------------------------------------------- /BoxForMagisk/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "log": { 3 | "level": "warn", 4 | "output": "/data/adb/box/run/sing-box.log", 5 | "timestamp": true 6 | }, 7 | "dns": { 8 | "servers": [ 9 | { 10 | "tag": "Internet-dns", 11 | "address": "1.0.0.1", 12 | "strategy": "ipv4_only", 13 | "detour": "Internet" 14 | }, 15 | { 16 | "tag": "Best Latency-dns", 17 | "address": "1.1.1.1", 18 | "strategy": "ipv4_only", 19 | "detour": "Best Latency" 20 | }, 21 | { 22 | "tag": "Lock Region ID-dns", 23 | "address": "8.8.8.8", 24 | "strategy": "ipv4_only", 25 | "detour": "Lock Region ID" 26 | }, 27 | { 28 | "tag": "WhatsApp-dns", 29 | "address": "8.8.4.4", 30 | "strategy": "ipv4_only", 31 | "detour": "WhatsApp" 32 | }, 33 | { 34 | "tag": "GAMESMAX(ML/FF/AOV)-dns", 35 | "address": "8.8.4.4", 36 | "strategy": "ipv4_only", 37 | "detour": "GAMESMAX(ML/FF/AOV)" 38 | }, 39 | { 40 | "tag": "Route Port Game-dns", 41 | "address": "9.9.9.9", 42 | "strategy": "ipv4_only", 43 | "detour": "Route Port Game" 44 | }, 45 | { 46 | "tag": "direct-dns", 47 | "address": "149.112.112.112", 48 | "strategy": "ipv4_only", 49 | "detour": "direct" 50 | }, 51 | { 52 | "tag": "block-dns", 53 | "address": "rcode://success" 54 | } 55 | ], 56 | "rules": [ 57 | { 58 | "domain_suffix": [ 59 | ".arpa.", 60 | ".arpa" 61 | ], 62 | "server": "block-dns", 63 | "rewrite_ttl": 20 64 | }, 65 | { 66 | "network": "udp", 67 | "port": 443, 68 | "server": "block-dns", 69 | "rewrite_ttl": 20 70 | }, 71 | { 72 | "geosite": "rule-malicious", 73 | "server": "block-dns", 74 | "rewrite_ttl": 20 75 | }, 76 | { 77 | "outbound": "Internet", 78 | "server": "Internet-dns", 79 | "rewrite_ttl": 20 80 | }, 81 | { 82 | "outbound": "Best Latency", 83 | "server": "Best Latency-dns", 84 | "rewrite_ttl": 20 85 | }, 86 | { 87 | "outbound": "Lock Region ID", 88 | "server": "Lock Region ID-dns", 89 | "rewrite_ttl": 20 90 | }, 91 | { 92 | "outbound": "WhatsApp", 93 | "server": "WhatsApp-dns", 94 | "rewrite_ttl": 20 95 | }, 96 | { 97 | "outbound": "GAMESMAX(ML/FF/AOV)", 98 | "server": "GAMESMAX(ML/FF/AOV)-dns", 99 | "rewrite_ttl": 20 100 | }, 101 | { 102 | "outbound": "Route Port Game", 103 | "server": "Route Port Game-dns", 104 | "rewrite_ttl": 20 105 | }, 106 | { 107 | "outbound": "direct", 108 | "server": "direct-dns", 109 | "rewrite_ttl": 20 110 | }, 111 | { 112 | "outbound": "any", 113 | "server": "direct-dns", 114 | "rewrite_ttl": 20 115 | } 116 | ], 117 | "reverse_mapping": true, 118 | "strategy": "ipv4_only", 119 | "independent_cache": true 120 | }, 121 | "inbounds": [ 122 | { 123 | "type": "tproxy", 124 | "tag": "tproxy-in", 125 | "listen": "::", 126 | "listen_port": 9898, 127 | "sniff": true 128 | } 129 | ], 130 | "outbounds": [ 131 | { 132 | "type": "selector", 133 | "tag": "Internet", 134 | "outbounds": [ 135 | "Best Latency", 136 | "Trojan GFW/TLS", 137 | "Trojan WS", 138 | "Vmess WS", 139 | "Vless WS", 140 | "Trojan gRPC", 141 | "Vmess gRPC", 142 | "Vless gRPC", 143 | "Vless Reality" 144 | ] 145 | }, 146 | { 147 | "type": "urltest", 148 | "tag": "Best Latency", 149 | "outbounds": [ 150 | "Trojan GFW/TLS", 151 | "Trojan WS", 152 | "Vmess WS", 153 | "Vless WS", 154 | "Trojan gRPC", 155 | "Vmess gRPC", 156 | "Vless gRPC", 157 | "Vless Reality" 158 | ], 159 | "url": "https://detectportal.firefox.com/success.txt", 160 | "interval": "1m0s" 161 | }, 162 | { 163 | "type": "selector", 164 | "tag": "Lock Region ID", 165 | "outbounds": [ 166 | "Trojan GFW/TLS", 167 | "Trojan WS", 168 | "Vmess WS", 169 | "Vless WS", 170 | "Trojan gRPC", 171 | "Vmess gRPC", 172 | "Vless gRPC", 173 | "Vless Reality" 174 | ] 175 | }, 176 | { 177 | "type": "selector", 178 | "tag": "WhatsApp", 179 | "outbounds": [ 180 | "direct", 181 | "Internet", 182 | "Best Latency", 183 | "Lock Region ID" 184 | ] 185 | }, 186 | { 187 | "type": "selector", 188 | "tag": "GAMESMAX(ML/FF/AOV)", 189 | "outbounds": [ 190 | "direct", 191 | "Internet", 192 | "Best Latency", 193 | "Lock Region ID" 194 | ] 195 | }, 196 | { 197 | "type": "selector", 198 | "tag": "Route Port Game", 199 | "outbounds": [ 200 | "direct", 201 | "Internet", 202 | "Best Latency", 203 | "Lock Region ID" 204 | ] 205 | }, 206 | { 207 | "type": "selector", 208 | "tag": "Option ADs", 209 | "outbounds": [ 210 | "block", 211 | "Internet" 212 | ] 213 | }, 214 | { 215 | "type": "selector", 216 | "tag": "Option P0rn", 217 | "outbounds": [ 218 | "block", 219 | "Internet" 220 | ] 221 | }, 222 | { 223 | "type": "trojan", 224 | "tag": "Trojan GFW/TLS", 225 | "domain_strategy": "ipv4_only", 226 | "server": "IP/YOURDOMAINSERVER", 227 | "server_port": 443, 228 | "password": "PASSWORD", 229 | "tls": { 230 | "enabled": true, 231 | "server_name": "TARGETDOMAIN", 232 | "insecure": true, 233 | "utls": { 234 | "fingerprint": "chrome" 235 | } 236 | }, 237 | "multiplex": { 238 | "protocol": "smux", 239 | "max_streams": 32 240 | } 241 | }, 242 | { 243 | "type": "trojan", 244 | "tag": "Trojan WS", 245 | "domain_strategy": "ipv4_only", 246 | "server": "IP/YOURDOMAINSERVER", 247 | "server_port": 443, 248 | "password": "PASSWORD", 249 | "tls": { 250 | "enabled": true, 251 | "server_name": "TARGETDOMAIN", 252 | "insecure": true, 253 | "utls": { 254 | "fingerprint": "chrome" 255 | } 256 | }, 257 | "multiplex": { 258 | "protocol": "smux", 259 | "max_streams": 32 260 | }, 261 | "transport": { 262 | "type": "ws", 263 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 264 | "headers": { 265 | "Host": "TARGETDOMAIN" 266 | } 267 | } 268 | }, 269 | { 270 | "type": "vmess", 271 | "tag": "Vmess WS", 272 | "domain_strategy": "ipv4_only", 273 | "server": "IP/YOURDOMAINSERVER", 274 | "server_port": 443, 275 | "uuid": "UUID", 276 | "security": "auto", 277 | "authenticated_length": true, 278 | "tls": { 279 | "enabled": true, 280 | "server_name": "TARGETDOMAIN", 281 | "insecure": true, 282 | "utls": { 283 | "fingerprint": "chrome" 284 | } 285 | }, 286 | "multiplex": { 287 | "protocol": "smux", 288 | "max_streams": 32 289 | }, 290 | "transport": { 291 | "type": "ws", 292 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 293 | "headers": { 294 | "Host": "YOURDOMAINSERVER" 295 | } 296 | } 297 | }, 298 | { 299 | "type": "vless", 300 | "tag": "Vless WS", 301 | "domain_strategy": "ipv4_only", 302 | "server": "IP/YOURDOMAINSERVER", 303 | "server_port": 443, 304 | "uuid": "UUID", 305 | "tls": { 306 | "enabled": true, 307 | "server_name": "TARGETDOMAIN", 308 | "insecure": true, 309 | "utls": { 310 | "fingerprint": "chrome" 311 | } 312 | }, 313 | "multiplex": { 314 | "protocol": "smux", 315 | "max_streams": 32 316 | }, 317 | "transport": { 318 | "type": "ws", 319 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 320 | "headers": { 321 | "Host": "YOURDOMAINSERVER" 322 | } 323 | }, 324 | "packet_encoding": "xudp" 325 | }, 326 | { 327 | "type": "trojan", 328 | "tag": "Trojan gRPC", 329 | "domain_strategy": "ipv4_only", 330 | "server": "IP/YOURDOMAINSERVER", 331 | "server_port": 443, 332 | "password": "PASSWORD", 333 | "tls": { 334 | "enabled": true, 335 | "server_name": "TARGETDOMAIN", 336 | "insecure": true, 337 | "utls": { 338 | "fingerprint": "chrome" 339 | } 340 | }, 341 | "multiplex": { 342 | "protocol": "smux", 343 | "max_streams": 32 344 | }, 345 | "transport": { 346 | "type": "grpc", 347 | "service_name": "buy-trojan-grpc-pm-telegram-at-synricha", 348 | "idle_timeout": "15s", 349 | "ping_timeout": "15s" 350 | } 351 | }, 352 | { 353 | "type": "vmess", 354 | "tag": "Vmess gRPC", 355 | "domain_strategy": "ipv4_only", 356 | "server": "IP/YOURDOMAINSERVER", 357 | "server_port": 443, 358 | "uuid": "UUID", 359 | "security": "auto", 360 | "authenticated_length": true, 361 | "tls": { 362 | "enabled": true, 363 | "server_name": "TARGETDOMAIN", 364 | "insecure": true, 365 | "utls": { 366 | "fingerprint": "chrome" 367 | } 368 | }, 369 | "multiplex": { 370 | "protocol": "smux", 371 | "max_streams": 32 372 | }, 373 | "transport": { 374 | "type": "grpc", 375 | "service_name": "buy-vmess-grpc-pm-telegram-at-synricha", 376 | "idle_timeout": "15s", 377 | "ping_timeout": "15s" 378 | } 379 | }, 380 | { 381 | "type": "vless", 382 | "tag": "Vless gRPC", 383 | "domain_strategy": "ipv4_only", 384 | "server": "IP/YOURDOMAINSERVER", 385 | "server_port": 443, 386 | "uuid": "UUID", 387 | "tls": { 388 | "enabled": true, 389 | "server_name": "TARGETDOMAIN", 390 | "insecure": true, 391 | "utls": { 392 | "fingerprint": "chrome" 393 | } 394 | }, 395 | "multiplex": { 396 | "protocol": "smux", 397 | "max_streams": 32 398 | }, 399 | "transport": { 400 | "type": "grpc", 401 | "service_name": "buy-vless-grpc-pm-telegram-at-synricha", 402 | "idle_timeout": "15s", 403 | "ping_timeout": "15s" 404 | }, 405 | "packet_encoding": "xudp" 406 | }, 407 | { 408 | "type": "vless", 409 | "tag": "Vless Reality", 410 | "domain_strategy": "ipv4_only", 411 | "server": "IP", 412 | "server_port": 30000, 413 | "uuid": "UUID", 414 | "flow": "xtls-rprx-vision", 415 | "tls": { 416 | "enabled": true, 417 | "server_name": "TARGETDOMAIN", 418 | "utls": { 419 | "enabled": true, 420 | "fingerprint": "chrome" 421 | }, 422 | "reality": { 423 | "enabled": true, 424 | "public_key": "PUBLIC_KEY", 425 | "short_id": "SHORT_ID" 426 | } 427 | }, 428 | "multiplex": { 429 | "protocol": "h2mux", 430 | "max_streams": 32 431 | }, 432 | "packet_encoding": "xudp" 433 | }, 434 | { 435 | "type": "direct", 436 | "tag": "direct" 437 | }, 438 | { 439 | "type": "block", 440 | "tag": "block" 441 | }, 442 | { 443 | "type": "dns", 444 | "tag": "dns-out" 445 | } 446 | ], 447 | "route": { 448 | "geoip": { 449 | "download_url": "https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db", 450 | "download_detour": "Best Latency" 451 | }, 452 | "geosite": { 453 | "download_url": "https://github.com/malikshi/v2ray-rules-dat/releases/latest/download/geosite.db", 454 | "download_detour": "Best Latency" 455 | }, 456 | "rules": [ 457 | { 458 | "port": 53, 459 | "outbound": "dns-out" 460 | }, 461 | { 462 | "network": "udp", 463 | "port": 443, 464 | "outbound": "block" 465 | }, 466 | { 467 | "domain_suffix": "googlesyndication.com", 468 | "outbound": "Internet" 469 | }, 470 | { 471 | "geosite": [ 472 | "rule-ads", 473 | "oisd-full" 474 | ], 475 | "outbound": "Option ADs" 476 | }, 477 | { 478 | "geosite": [ 479 | "oisd-nsfw", 480 | "category-porn" 481 | ], 482 | "outbound": "Option P0rn" 483 | }, 484 | { 485 | "geosite": "whatsapp", 486 | "outbound": "WhatsApp" 487 | }, 488 | { 489 | "geoip": "facebook", 490 | "port": [ 491 | 3478, 492 | 4244, 493 | 5222, 494 | 5223, 495 | 5242, 496 | 45395, 497 | 50318, 498 | 59234 499 | ], 500 | "outbound": "WhatsApp" 501 | }, 502 | { 503 | "protocol": "stun", 504 | "outbound": "Internet" 505 | }, 506 | { 507 | "geosite": "rule-indo", 508 | "outbound": "Lock Region ID" 509 | }, 510 | { 511 | "network": "udp", 512 | "port": [ 513 | 10003, 514 | 10039, 515 | 10096, 516 | 10100, 517 | 10491, 518 | 10612, 519 | 11455, 520 | 12008, 521 | 12235, 522 | 13004, 523 | 13008, 524 | 13748, 525 | 13894, 526 | 13972, 527 | 17000, 528 | 17500, 529 | 2702, 530 | 3702, 531 | 6006, 532 | 6008, 533 | 6674, 534 | 7889, 535 | 8008, 536 | 8011, 537 | 8130, 538 | 8443, 539 | 9008, 540 | 9030, 541 | 9120, 542 | 9992 543 | ], 544 | "outbound": "GAMESMAX(ML/FF/AOV)" 545 | }, 546 | { 547 | "network": "udp", 548 | "port_range": [ 549 | "4001:4009", 550 | "5000:5221", 551 | "5224:5241", 552 | "5243:5287", 553 | "5289:5352", 554 | "5354:5509", 555 | "5517:5529", 556 | "5551:5559", 557 | "5601:5700", 558 | "9000:9010", 559 | "30000:30300", 560 | "7006:7008", 561 | "8001:8012", 562 | "10000:10015", 563 | "11000:11019", 564 | "10101:10201", 565 | "10080:10110", 566 | "17000:18000" 567 | ], 568 | "outbound": "GAMESMAX(ML/FF/AOV)" 569 | }, 570 | { 571 | "network": "tcp", 572 | "port": [ 573 | 10000, 574 | 10003, 575 | 10012, 576 | 10082, 577 | 12006, 578 | 12008, 579 | 13006, 580 | 14000, 581 | 14009, 582 | 14422, 583 | 15006, 584 | 15692, 585 | 16999, 586 | 17000, 587 | 17500, 588 | 18081, 589 | 18082, 590 | 20000, 591 | 20166, 592 | 20371, 593 | 20561, 594 | 2099, 595 | 25000, 596 | 29134, 597 | 30031, 598 | 31003, 599 | 31003, 600 | 33445, 601 | 39003, 602 | 39006, 603 | 39698, 604 | 39779, 605 | 39800, 606 | 40005, 607 | 42472, 608 | 50000, 609 | 5517, 610 | 5692, 611 | 6006, 612 | 6008, 613 | 65010, 614 | 65050, 615 | 6674, 616 | 7889, 617 | 8013, 618 | 8085, 619 | 8088, 620 | 8443, 621 | 8500, 622 | 8888, 623 | 9006, 624 | 9137, 625 | 9339, 626 | 9443 627 | ], 628 | "outbound": "Route Port Game" 629 | }, 630 | { 631 | "network": "tcp", 632 | "port_range": [ 633 | "5000:5221", 634 | "5224:5227", 635 | "5229:5241", 636 | "5243:5287", 637 | "5289:5352", 638 | "5354:5509", 639 | "5520:5529", 640 | "5551:5559", 641 | "5601:5700", 642 | "9000:9010", 643 | "30000:30300", 644 | "7006:7008", 645 | "8001:8012", 646 | "10000:10012", 647 | "11000:11019", 648 | "8085:8088", 649 | "10000:10019", 650 | "20000:20002", 651 | "10000:10001", 652 | "20000:20001", 653 | "9330:9340", 654 | "2080:2099", 655 | "9100:9200", 656 | "8230:8250", 657 | "8110:8120", 658 | "27000:28998", 659 | "7770:7790", 660 | "44590:44610", 661 | "10500:10515", 662 | "27015:27030", 663 | "27036:27037", 664 | "39190:39200", 665 | "49001:49190", 666 | "8393:8400" 667 | ], 668 | "outbound": "Route Port Game" 669 | }, 670 | { 671 | "network": "udp", 672 | "port": [ 673 | 10003, 674 | 10013, 675 | 10019, 676 | 10039, 677 | 10096, 678 | 10100, 679 | 10491, 680 | 10612, 681 | 11455, 682 | 12008, 683 | 12235, 684 | 13004, 685 | 13008, 686 | 13748, 687 | 13894, 688 | 13972, 689 | 14009, 690 | 14422, 691 | 16999, 692 | 17000, 693 | 17500, 694 | 20000, 695 | 25000, 696 | 2702, 697 | 27036, 698 | 29134, 699 | 30000, 700 | 30104, 701 | 3702, 702 | 39000, 703 | 40005, 704 | 42472, 705 | 4380, 706 | 5010, 707 | 5100, 708 | 6006, 709 | 6008, 710 | 6650, 711 | 6674, 712 | 7889, 713 | 8000, 714 | 8008, 715 | 8011, 716 | 8013, 717 | 8088, 718 | 8130, 719 | 8443, 720 | 8700, 721 | 8888, 722 | 9008, 723 | 9030, 724 | 9120, 725 | 9992 726 | ], 727 | "outbound": "Route Port Game" 728 | }, 729 | { 730 | "network": "udp", 731 | "port_range": [ 732 | "4001:4009", 733 | "5000:5221", 734 | "5224:5241", 735 | "5243:5287", 736 | "5289:5352", 737 | "5354:5509", 738 | "5517:5529", 739 | "5551:5559", 740 | "5601:5700", 741 | "9000:9010", 742 | "30000:30300", 743 | "7006:7008", 744 | "8001:8012", 745 | "10000:10015", 746 | "11000:11019", 747 | "7086:7995", 748 | "8011:8013", 749 | "9030:9031", 750 | "20000:20002", 751 | "12070:12460", 752 | "41182:41192", 753 | "7500:7995", 754 | "10010:10019", 755 | "20000:20001", 756 | "10101:10201", 757 | "10080:10110", 758 | "17000:18000", 759 | "5055:5058", 760 | "22101:22102", 761 | "9330:9340", 762 | "27000:28998", 763 | "16300:16350", 764 | "40000:40010", 765 | "60970:60980", 766 | "27000:27031", 767 | "40000:40010", 768 | "7000:8000", 769 | "8180:8181", 770 | "27016:27024", 771 | "54000:54012" 772 | ], 773 | "outbound": "Route Port Game" 774 | }, 775 | { 776 | "geoip": "id", 777 | "port": [ 778 | 21, 779 | 22, 780 | 23, 781 | 80, 782 | 81, 783 | 123, 784 | 143, 785 | 182, 786 | 183, 787 | 194, 788 | 443, 789 | 465, 790 | 587, 791 | 853, 792 | 993, 793 | 995, 794 | 998, 795 | 2052, 796 | 2053, 797 | 2082, 798 | 2083, 799 | 2086, 800 | 2095, 801 | 2096, 802 | 5222, 803 | 5228, 804 | 5229, 805 | 5230, 806 | 8000, 807 | 8080, 808 | 8081, 809 | 8088, 810 | 8443, 811 | 8880, 812 | 8883, 813 | 8888, 814 | 8889, 815 | 42069 816 | ], 817 | "outbound": "Lock Region ID" 818 | }, 819 | { 820 | "port": [ 821 | 21, 822 | 22, 823 | 23, 824 | 80, 825 | 81, 826 | 123, 827 | 143, 828 | 182, 829 | 183, 830 | 194, 831 | 443, 832 | 465, 833 | 587, 834 | 853, 835 | 993, 836 | 995, 837 | 998, 838 | 2052, 839 | 2053, 840 | 2082, 841 | 2083, 842 | 2086, 843 | 2095, 844 | 2096, 845 | 5222, 846 | 5228, 847 | 5229, 848 | 5230, 849 | 8000, 850 | 8080, 851 | 8081, 852 | 8088, 853 | 8443, 854 | 8880, 855 | 8883, 856 | 8888, 857 | 8889, 858 | 42069 859 | ], 860 | "outbound": "Internet" 861 | }, 862 | { 863 | "port_range": [ 864 | "1023:42068", 865 | "42070:65535" 866 | ], 867 | "outbound": "Route Port Game" 868 | } 869 | ], 870 | "final": "Internet", 871 | "find_process": true 872 | }, 873 | "experimental": { 874 | "clash_api": { 875 | "external_controller": "0.0.0.0:9090", 876 | "external_ui": "./dashboard", 877 | "store_selected": true 878 | } 879 | } 880 | } 881 | -------------------------------------------------------------------------------- /Compile/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Select Your Device Architecture 3 | 4 | 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. 5 | 6 | # Setup Golang 7 | 8 | ``` 9 | LATEST_GO_VERSION=$(curl https://go.dev/VERSION?m=text) 10 | curl -sLo go.tar.gz https://go.dev/dl/$LATEST_GO_VERSION.linux-amd64.tar.gz 11 | tar -C /usr/local -xzf go.tar.gz 12 | rm go.tar.gz 13 | echo -e "export PATH=$PATH:/usr/local/go/bin" > /etc/profile.d/go.sh 14 | source /etc/profile.d/go.sh 15 | go version 16 | ``` 17 | 18 | ``` 19 | apt install -y build-essential 20 | ``` 21 | 22 | ``` 23 | go env -w CGO_ENABLED=1 24 | go env 25 | ``` 26 | 27 | # Compiling/Build sing-box 28 | 29 | ## linux-amd64 30 | 31 | ``` 32 | 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 33 | ``` 34 | 35 | # windows-amd64 36 | 37 | ``` 38 | 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 39 | ``` 40 | 41 | [sing-box Build Tag](https://sing-box.sagernet.org/installation/from-source/) 42 | 43 | [GOAMD64](https://github.com/golang/go/wiki/MinimumRequirements#amd64) -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Malik Al 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /NekoBoxForAndroid/README.md: -------------------------------------------------------------------------------- 1 | # NOTICE ! 2 | 3 | ## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo) 4 | 5 | - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db) 6 | - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db) 7 | 8 | ## MULTIPLEX 9 | 10 | server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 11 | 12 | ## EXAMPLE LIST 13 | 14 | List Examples to fill proxy A, proxy B, proxy C, proxy D in base.json/config.json 15 | 16 | ## [Trojan GFW](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20GFW%20or%20TLS/README.md) 17 | 18 | ## [Trojan Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20Websocket/README.md) 19 | 20 | ## [Trojan gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20gRPC/README.md) 21 | 22 | ## [Vmess Websocket](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20Websocket/README.md) 23 | 24 | ## [Vmess gRPC](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20gRPC/README.md) 25 | 26 | ## [Vless Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20Websocket/README.md) 27 | 28 | ## [Vless gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20gRPC/README.md) 29 | 30 | 31 | ## HOW TO FILL PROXY A, B, C, D 32 | 33 | Since many people doesn't understand json that well so added how to fill proxy a, b, c, d in sing-box format 34 | ```json 35 | { 36 | "domain_strategy": "ipv4_only", 37 | "tag": "proxy A", 38 | 39 | "type": "trojan", 40 | "server": "IP/YOURDOMAINSERVER", 41 | "server_port": 443, 42 | "password": "PASSWORD", 43 | "tls": { 44 | "enabled": true, 45 | "server_name": "TARGETDOMAIN", 46 | "insecure": true, 47 | "utls": { 48 | "enabled": true, 49 | "fingerprint": "chrome" 50 | } 51 | }, 52 | "multiplex": { 53 | "enabled": false, 54 | "protocol": "smux", 55 | "max_streams": 32 56 | } 57 | }, 58 | { 59 | "domain_strategy": "ipv4_only", 60 | "tag": "proxy B", 61 | 62 | "type": "trojan", 63 | "server": "IP/YOURDOMAINSERVER", 64 | "server_port": 443, 65 | "password": "PASSWORD", 66 | "tls": { 67 | "enabled": true, 68 | "server_name": "TARGETDOMAIN", 69 | "insecure": true, 70 | "utls": { 71 | "enabled": true, 72 | "fingerprint": "chrome" 73 | } 74 | }, 75 | "transport": { 76 | "type": "ws", 77 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 78 | "headers": { 79 | "Host": "TARGETDOMAIN" 80 | } 81 | }, 82 | "multiplex": { 83 | "enabled": false, 84 | "protocol": "smux", 85 | "max_streams": 32 86 | } 87 | }, 88 | { 89 | "domain_strategy": "ipv4_only", 90 | "tag": "proxy C", 91 | 92 | "type": "vmess", 93 | "server": "IP/YOURDOMAINSERVER", 94 | "server_port": 443, 95 | "uuid": "UUID", 96 | "security": "auto", 97 | "alter_id": 0, 98 | "global_padding": false, 99 | "authenticated_length": true, 100 | "tls": { 101 | "enabled": true, 102 | "server_name": "TARGETDOMAIN", 103 | "insecure": true, 104 | "utls": { 105 | "enabled": true, 106 | "fingerprint": "chrome" 107 | } 108 | }, 109 | "packet_encoding": "", 110 | "transport": { 111 | "type": "ws", 112 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 113 | "headers": { 114 | "Host": "YOURDOMAINSERVER" 115 | } 116 | }, 117 | "multiplex": { 118 | "enabled": false, 119 | "protocol": "smux", 120 | "max_streams": 32 121 | } 122 | }, 123 | { 124 | "domain_strategy": "ipv4_only", 125 | "tag": "proxy D", 126 | 127 | "type": "vless", 128 | "server": "IP/YOURDOMAINSERVER", 129 | "server_port": 443, 130 | "uuid": "UUID", 131 | "flow": "", 132 | "tls": { 133 | "enabled": true, 134 | "server_name": "TARGETDOMAIN", 135 | "insecure": true, 136 | "utls": { 137 | "enabled": true, 138 | "fingerprint": "chrome" 139 | } 140 | }, 141 | "packet_encoding": "xudp", 142 | "transport": { 143 | "type": "ws", 144 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 145 | "headers": { 146 | "Host": "YOURDOMAINSERVER" 147 | } 148 | } 149 | } 150 | ``` -------------------------------------------------------------------------------- /NekoBoxForAndroid/base.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "domain_suffix":[ 6 | "googlesyndication.com" 7 | ], 8 | "server":"dns-remote" 9 | }, 10 | { 11 | "geosite": [ 12 | "rule-ads" 13 | ], 14 | "server": "dns-block" 15 | }, 16 | { 17 | "domain_suffix": [ 18 | ".arpa.", 19 | ".arpa" 20 | ], 21 | "server": "dns-block" 22 | } 23 | ], 24 | "servers": [ 25 | { 26 | "address": "8.8.8.8", 27 | "address_resolver": "dns-direct", 28 | "strategy": "ipv4_only", 29 | "tag": "dns-remote" 30 | }, 31 | { 32 | "address": "1.1.1.1", 33 | "address_resolver": "dns-local", 34 | "detour": "direct", 35 | "strategy": "ipv4_only", 36 | "tag": "dns-direct" 37 | }, 38 | { 39 | "address": "underlying://0.0.0.0", 40 | "detour": "direct", 41 | "tag": "dns-local" 42 | }, 43 | { 44 | "address": "rcode://success", 45 | "tag": "dns-block" 46 | } 47 | ], 48 | "strategy": "ipv4_only" 49 | }, 50 | "experimental": { 51 | "clash_api": { 52 | "cache_file": "../cache/clash.db", 53 | "external_controller": "127.0.0.1:9090", 54 | "external_ui": "../files/yacd" 55 | } 56 | }, 57 | "inbounds": [ 58 | { 59 | "listen": "0.0.0.0", 60 | "listen_port": 6450, 61 | "override_address": "8.8.8.8", 62 | "override_port": 53, 63 | "tag": "dns-in", 64 | "type": "direct" 65 | }, 66 | { 67 | "domain_strategy":"ipv4_only", 68 | "endpoint_independent_nat": true, 69 | "inet4_address": [ 70 | "172.19.0.1/28" 71 | ], 72 | "sniff": true, 73 | "stack": "system", 74 | "tag": "tun-in", 75 | "type": "tun" 76 | }, 77 | { 78 | "domain_strategy":"ipv4_only", 79 | "listen": "127.0.0.1", 80 | "listen_port": 2080, 81 | "sniff": true, 82 | "tag": "mixed-in", 83 | "type": "mixed" 84 | } 85 | ], 86 | "log":{ 87 | "level": "info" 88 | }, 89 | "outbounds": [ 90 | { 91 | "domain_strategy": "ipv4_only", 92 | "tag": "proxy", 93 | // place 1 account here 94 | // check example account at our repo 95 | }, 96 | { 97 | "tag": "direct", 98 | "type": "direct" 99 | }, 100 | { 101 | "tag": "bypass", 102 | "type": "direct" 103 | }, 104 | { 105 | "tag": "block", 106 | "type": "block" 107 | }, 108 | { 109 | "tag": "dns-out", 110 | "type": "dns" 111 | } 112 | ], 113 | "route": { 114 | "auto_detect_interface": true, 115 | "final": "proxy", 116 | "rules": [ 117 | { 118 | "network": "udp", 119 | "outbound": "block", 120 | "port": [ 121 | 443 122 | ] 123 | }, 124 | { 125 | "domain_suffix": [ 126 | "googlesyndication.com" 127 | ], 128 | "outbound": "proxy" 129 | }, 130 | { 131 | "geosite": [ 132 | "rule-ads" 133 | ], 134 | "outbound": "block" 135 | }, 136 | { 137 | "ip_cidr": [ 138 | "8.8.8.8" 139 | ], 140 | "outbound": "proxy" 141 | }, 142 | { 143 | "inbound": [ 144 | "dns-in" 145 | ], 146 | "outbound": "dns-out" 147 | }, 148 | { 149 | "outbound": "dns-out", 150 | "port": [ 151 | 53 152 | ] 153 | }, 154 | { 155 | "ip_cidr": [ 156 | "224.0.0.0/3", 157 | "ff00::/8" 158 | ], 159 | "outbound": "block", 160 | "source_ip_cidr": [ 161 | "224.0.0.0/3", 162 | "ff00::/8" 163 | ] 164 | } 165 | ] 166 | } 167 | } -------------------------------------------------------------------------------- /NekoBoxForAndroid/light.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "domain_suffix": [ 6 | ".arpa.", 7 | ".arpa" 8 | ], 9 | "server": "dns-block" 10 | } 11 | ], 12 | "servers": [ 13 | { 14 | "address": "8.8.8.8", 15 | "address_resolver": "dns-direct", 16 | "strategy": "ipv4_only", 17 | "tag": "dns-remote" 18 | }, 19 | { 20 | "address": "1.1.1.1", 21 | "address_resolver": "dns-local", 22 | "detour": "direct", 23 | "strategy": "ipv4_only", 24 | "tag": "dns-direct" 25 | }, 26 | { 27 | "address": "underlying://0.0.0.0", 28 | "detour": "direct", 29 | "tag": "dns-local" 30 | }, 31 | { 32 | "address": "rcode://success", 33 | "tag": "dns-block" 34 | } 35 | ], 36 | "strategy": "ipv4_only" 37 | }, 38 | "experimental": { 39 | "clash_api": { 40 | "cache_file": "../cache/clash.db", 41 | "external_controller": "127.0.0.1:9090", 42 | "external_ui": "../files/yacd" 43 | } 44 | }, 45 | "inbounds": [ 46 | { 47 | "listen": "0.0.0.0", 48 | "listen_port": 6450, 49 | "override_address": "8.8.8.8", 50 | "override_port": 53, 51 | "tag": "dns-in", 52 | "type": "direct" 53 | }, 54 | { 55 | "domain_strategy":"ipv4_only", 56 | "endpoint_independent_nat": true, 57 | "inet4_address": [ 58 | "172.19.0.1/28" 59 | ], 60 | "sniff": true, 61 | "stack": "system", 62 | "tag": "tun-in", 63 | "type": "tun" 64 | }, 65 | { 66 | "domain_strategy":"ipv4_only", 67 | "listen": "127.0.0.1", 68 | "listen_port": 2080, 69 | "sniff": true, 70 | "tag": "mixed-in", 71 | "type": "mixed" 72 | } 73 | ], 74 | "log":{ 75 | "level": "info" 76 | }, 77 | "outbounds": [ 78 | { 79 | "tag": "Internet", 80 | "type": "selector", 81 | "outbounds":[ 82 | "Best Latency", 83 | "proxy A", 84 | "proxy B", 85 | "proxy C", 86 | "proxy D" 87 | ] 88 | }, 89 | { 90 | "tag": "Best Latency", 91 | "type": "urltest", 92 | "outbounds":[ 93 | "proxy A", 94 | "proxy B", 95 | "proxy C", 96 | "proxy D" 97 | ], 98 | "url": "https://detectportal.firefox.com/success.txt", 99 | "interval": "60s", 100 | "tolerance": 0 101 | }, 102 | { 103 | "tag": "Lock Region ID", 104 | "type": "selector", 105 | "outbounds":[ 106 | "proxy A", 107 | "proxy B", 108 | "proxy C", 109 | "proxy D" 110 | ] 111 | }, 112 | { 113 | "tag": "Option ADs", 114 | "type": "selector", 115 | "outbounds":[ 116 | "block", 117 | "Internet" 118 | ] 119 | }, 120 | { 121 | "tag": "Option P0rn", 122 | "type": "selector", 123 | "outbounds":[ 124 | "block", 125 | "Internet" 126 | ] 127 | }, 128 | { 129 | "domain_strategy": "ipv4_only", 130 | "tag": "proxy A", 131 | // place 1 account here 132 | // check example account at our repo 133 | }, 134 | { 135 | "domain_strategy": "ipv4_only", 136 | "tag": "proxy B", 137 | // place 1 account here 138 | // check example account at our repo 139 | }, 140 | { 141 | "domain_strategy": "ipv4_only", 142 | "tag": "proxy C", 143 | // place 1 account here 144 | // check example account at our repo 145 | }, 146 | { 147 | "domain_strategy": "ipv4_only", 148 | "tag": "proxy D", 149 | // place 1 account here 150 | // check example account at our repo 151 | }, 152 | { 153 | "tag": "direct", 154 | "type": "direct" 155 | }, 156 | { 157 | "tag": "bypass", 158 | "type": "direct" 159 | }, 160 | { 161 | "tag": "block", 162 | "type": "block" 163 | }, 164 | { 165 | "tag": "dns-out", 166 | "type": "dns" 167 | } 168 | ], 169 | "route": { 170 | "auto_detect_interface": true, 171 | "final": "Internet", 172 | "rules": [ 173 | { 174 | "network": "udp", 175 | "outbound": "block", 176 | "port": [ 177 | 443 178 | ] 179 | }, 180 | { 181 | "domain_suffix": [ 182 | "googlesyndication.com" 183 | ], 184 | "outbound": "Internet" 185 | }, 186 | { 187 | "geosite": [ 188 | "rule-ads" 189 | ], 190 | "outbound": "Option ADs" 191 | }, 192 | { 193 | "geosite":[ 194 | "category-porn" 195 | ], 196 | "outbound":"Option P0rn" 197 | }, 198 | { 199 | "port":[ 200 | 3478, 201 | 4244, 202 | 5222, 203 | 5223, 204 | 5242, 205 | 45395, 206 | 50318, 207 | 59234 208 | ], 209 | "geoip":[ 210 | "facebook" 211 | ], 212 | "outbound":"bypass" 213 | }, 214 | { 215 | "geosite":[ 216 | "rule-indo" 217 | ], 218 | "outbound":"Lock Region ID" 219 | }, 220 | { 221 | "ip_cidr": [ 222 | "8.8.8.8" 223 | ], 224 | "outbound": "Internet" 225 | }, 226 | { 227 | "inbound": [ 228 | "dns-in" 229 | ], 230 | "outbound": "dns-out" 231 | }, 232 | { 233 | "outbound": "dns-out", 234 | "port": [ 235 | 53 236 | ] 237 | }, 238 | { 239 | "ip_cidr": [ 240 | "224.0.0.0/3", 241 | "ff00::/8" 242 | ], 243 | "outbound": "block", 244 | "source_ip_cidr": [ 245 | "224.0.0.0/3", 246 | "ff00::/8" 247 | ] 248 | } 249 | ] 250 | } 251 | } -------------------------------------------------------------------------------- /NekoBoxForAndroid/normal.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "domain_suffix": [ 6 | ".arpa.", 7 | ".arpa" 8 | ], 9 | "server": "dns-block" 10 | } 11 | ], 12 | "servers": [ 13 | { 14 | "address": "8.8.8.8", 15 | "address_resolver": "dns-direct", 16 | "strategy": "ipv4_only", 17 | "tag": "dns-remote" 18 | }, 19 | { 20 | "address": "1.1.1.1", 21 | "address_resolver": "dns-local", 22 | "detour": "direct", 23 | "strategy": "ipv4_only", 24 | "tag": "dns-direct" 25 | }, 26 | { 27 | "address": "underlying://0.0.0.0", 28 | "detour": "direct", 29 | "tag": "dns-local" 30 | }, 31 | { 32 | "address": "rcode://success", 33 | "tag": "dns-block" 34 | } 35 | ], 36 | "strategy": "ipv4_only" 37 | }, 38 | "experimental": { 39 | "clash_api": { 40 | "cache_file": "../cache/clash.db", 41 | "external_controller": "127.0.0.1:9090", 42 | "external_ui": "../files/yacd" 43 | } 44 | }, 45 | "inbounds": [ 46 | { 47 | "listen": "0.0.0.0", 48 | "listen_port": 6450, 49 | "override_address": "8.8.8.8", 50 | "override_port": 53, 51 | "tag": "dns-in", 52 | "type": "direct" 53 | }, 54 | { 55 | "domain_strategy":"ipv4_only", 56 | "endpoint_independent_nat": true, 57 | "inet4_address": [ 58 | "172.19.0.1/28" 59 | ], 60 | "sniff": true, 61 | "stack": "system", 62 | "tag": "tun-in", 63 | "type": "tun" 64 | }, 65 | { 66 | "domain_strategy":"ipv4_only", 67 | "listen": "127.0.0.1", 68 | "listen_port": 2080, 69 | "sniff": true, 70 | "tag": "mixed-in", 71 | "type": "mixed" 72 | } 73 | ], 74 | "log":{ 75 | "level": "info" 76 | }, 77 | "outbounds": [ 78 | { 79 | "tag": "Internet", 80 | "type": "selector", 81 | "outbounds":[ 82 | "Best Latency", 83 | "proxy A", 84 | "proxy B", 85 | "proxy C", 86 | "proxy D" 87 | ] 88 | }, 89 | { 90 | "tag": "Best Latency", 91 | "type": "urltest", 92 | "outbounds":[ 93 | "proxy A", 94 | "proxy B", 95 | "proxy C", 96 | "proxy D" 97 | ], 98 | "url": "https://detectportal.firefox.com/success.txt", 99 | "interval": "60s", 100 | "tolerance": 0 101 | }, 102 | { 103 | "tag": "Lock Region ID", 104 | "type": "selector", 105 | "outbounds":[ 106 | "proxy A", 107 | "proxy B", 108 | "proxy C", 109 | "proxy D" 110 | ] 111 | }, 112 | { 113 | "tag": "Option ADs", 114 | "type": "selector", 115 | "outbounds":[ 116 | "block", 117 | "Internet" 118 | ] 119 | }, 120 | { 121 | "tag": "Option P0rn", 122 | "type": "selector", 123 | "outbounds":[ 124 | "block", 125 | "Internet" 126 | ] 127 | }, 128 | { 129 | "domain_strategy": "", 130 | "tag": "proxy A", 131 | // place 1 account here 132 | // check example account at our repo 133 | }, 134 | { 135 | "domain_strategy": "", 136 | "tag": "proxy B", 137 | // place 1 account here 138 | // check example account at our repo 139 | }, 140 | { 141 | "domain_strategy": "", 142 | "tag": "proxy C", 143 | // place 1 account here 144 | // check example account at our repo 145 | }, 146 | { 147 | "domain_strategy": "", 148 | "tag": "proxy D", 149 | // place 1 account here 150 | // check example account at our repo 151 | }, 152 | { 153 | "tag": "direct", 154 | "type": "direct" 155 | }, 156 | { 157 | "tag": "bypass", 158 | "type": "direct" 159 | }, 160 | { 161 | "tag": "block", 162 | "type": "block" 163 | }, 164 | { 165 | "tag": "dns-out", 166 | "type": "dns" 167 | } 168 | ], 169 | "route": { 170 | "auto_detect_interface": true, 171 | "final": "Internet", 172 | "rules": [ 173 | { 174 | "network": "udp", 175 | "geosite":[ 176 | "google" 177 | ], 178 | "geoip":[ 179 | "google" 180 | ], 181 | "port": [ 182 | 443 183 | ], 184 | "outbound": "block" 185 | }, 186 | { 187 | "domain_suffix": [ 188 | "googlesyndication.com" 189 | ], 190 | "outbound": "Internet" 191 | }, 192 | { 193 | "geosite": [ 194 | "rule-ads", 195 | "oisd-small" 196 | ], 197 | "outbound": "Option ADs" 198 | }, 199 | { 200 | "geosite":[ 201 | "oisd-nsfw" 202 | ], 203 | "outbound":"Option P0rn" 204 | }, 205 | { 206 | "port":[ 207 | 3478, 208 | 4244, 209 | 5222, 210 | 5223, 211 | 5242, 212 | 45395, 213 | 50318, 214 | 59234 215 | ], 216 | "geoip":[ 217 | "facebook" 218 | ], 219 | "outbound":"bypass" 220 | }, 221 | { 222 | "geosite":[ 223 | "rule-indo" 224 | ], 225 | "outbound":"Lock Region ID" 226 | }, 227 | { 228 | "ip_cidr": [ 229 | "8.8.8.8" 230 | ], 231 | "outbound": "Internet" 232 | }, 233 | { 234 | "inbound": [ 235 | "dns-in" 236 | ], 237 | "outbound": "dns-out" 238 | }, 239 | { 240 | "outbound": "dns-out", 241 | "port": [ 242 | 53 243 | ] 244 | }, 245 | { 246 | "ip_cidr": [ 247 | "224.0.0.0/3", 248 | "ff00::/8" 249 | ], 250 | "outbound": "block", 251 | "source_ip_cidr": [ 252 | "224.0.0.0/3", 253 | "ff00::/8" 254 | ] 255 | } 256 | ] 257 | } 258 | } -------------------------------------------------------------------------------- /NekoBoxForAndroid/pro-plus.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "geosite":[ 6 | "rule-malicious" 7 | ], 8 | "server":"dns-block" 9 | }, 10 | { 11 | "domain_suffix": [ 12 | ".arpa.", 13 | ".arpa" 14 | ], 15 | "server": "dns-block" 16 | } 17 | ], 18 | "servers": [ 19 | { 20 | "address": "8.8.8.8", 21 | "address_resolver": "dns-direct", 22 | "strategy": "ipv4_only", 23 | "tag": "dns-remote" 24 | }, 25 | { 26 | "address": "1.1.1.1", 27 | "address_resolver": "dns-local", 28 | "detour": "direct", 29 | "strategy": "ipv4_only", 30 | "tag": "dns-direct" 31 | }, 32 | { 33 | "address": "underlying://0.0.0.0", 34 | "detour": "direct", 35 | "tag": "dns-local" 36 | }, 37 | { 38 | "address": "rcode://success", 39 | "tag": "dns-block" 40 | } 41 | ], 42 | "strategy": "ipv4_only" 43 | }, 44 | "experimental": { 45 | "clash_api": { 46 | "cache_file": "../cache/clash.db", 47 | "external_controller": "127.0.0.1:9090", 48 | "external_ui": "../files/yacd" 49 | } 50 | }, 51 | "inbounds": [ 52 | { 53 | "listen": "0.0.0.0", 54 | "listen_port": 6450, 55 | "override_address": "8.8.8.8", 56 | "override_port": 53, 57 | "tag": "dns-in", 58 | "type": "direct" 59 | }, 60 | { 61 | "domain_strategy":"ipv4_only", 62 | "endpoint_independent_nat": true, 63 | "inet4_address": [ 64 | "172.19.0.1/28" 65 | ], 66 | "sniff": true, 67 | "stack": "system", 68 | "tag": "tun-in", 69 | "type": "tun" 70 | }, 71 | { 72 | "domain_strategy":"ipv4_only", 73 | "listen": "127.0.0.1", 74 | "listen_port": 2080, 75 | "sniff": true, 76 | "tag": "mixed-in", 77 | "type": "mixed" 78 | } 79 | ], 80 | "log":{ 81 | "level": "info" 82 | }, 83 | "outbounds": [ 84 | { 85 | "tag": "Internet", 86 | "type": "selector", 87 | "outbounds":[ 88 | "Best Latency", 89 | "proxy A", 90 | "proxy B", 91 | "proxy C", 92 | "proxy D" 93 | ] 94 | }, 95 | { 96 | "tag": "Best Latency", 97 | "type": "urltest", 98 | "outbounds":[ 99 | "proxy A", 100 | "proxy B", 101 | "proxy C", 102 | "proxy D" 103 | ], 104 | "url": "https://detectportal.firefox.com/success.txt", 105 | "interval": "60s", 106 | "tolerance": 0 107 | }, 108 | { 109 | "tag": "Lock Region ID", 110 | "type": "selector", 111 | "outbounds":[ 112 | "proxy A", 113 | "proxy B", 114 | "proxy C", 115 | "proxy D" 116 | ] 117 | }, 118 | { 119 | "tag": "Option ADs", 120 | "type": "selector", 121 | "outbounds":[ 122 | "block", 123 | "Internet" 124 | ] 125 | }, 126 | { 127 | "tag": "Option P0rn", 128 | "type": "selector", 129 | "outbounds":[ 130 | "block", 131 | "Internet" 132 | ] 133 | }, 134 | { 135 | "domain_strategy": "ipv4_only", 136 | "tag": "proxy A", 137 | // place 1 account here 138 | // check example account at our repo 139 | }, 140 | { 141 | "domain_strategy": "ipv4_only", 142 | "tag": "proxy B", 143 | // place 1 account here 144 | // check example account at our repo 145 | }, 146 | { 147 | "domain_strategy": "ipv4_only", 148 | "tag": "proxy C", 149 | // place 1 account here 150 | // check example account at our repo 151 | }, 152 | { 153 | "domain_strategy": "ipv4_only", 154 | "tag": "proxy D", 155 | // place 1 account here 156 | // check example account at our repo 157 | }, 158 | { 159 | "tag": "direct", 160 | "type": "direct" 161 | }, 162 | { 163 | "tag": "bypass", 164 | "type": "direct" 165 | }, 166 | { 167 | "tag": "block", 168 | "type": "block" 169 | }, 170 | { 171 | "tag": "dns-out", 172 | "type": "dns" 173 | } 174 | ], 175 | "route": { 176 | "auto_detect_interface": true, 177 | "final": "Internet", 178 | "rules": [ 179 | { 180 | "network": "udp", 181 | "geosite":[ 182 | "google" 183 | ], 184 | "geoip":[ 185 | "google" 186 | ], 187 | "port": [ 188 | 443 189 | ], 190 | "outbound": "block" 191 | }, 192 | { 193 | "domain_suffix": [ 194 | "googlesyndication.com" 195 | ], 196 | "outbound": "Internet" 197 | }, 198 | { 199 | "geosite":[ 200 | "rule-malicious" 201 | ], 202 | "outbound":"block" 203 | }, 204 | { 205 | "geosite": [ 206 | "rule-ads", 207 | "oisd-full", 208 | "category-ads-all" 209 | ], 210 | "outbound": "Option ADs" 211 | }, 212 | { 213 | "geosite":[ 214 | "oisd-nsfw", 215 | "category-porn" 216 | ], 217 | "outbound":"Option P0rn" 218 | }, 219 | { 220 | "port":[ 221 | 3478, 222 | 4244, 223 | 5222, 224 | 5223, 225 | 5242, 226 | 45395, 227 | 50318, 228 | 59234 229 | ], 230 | "geoip":[ 231 | "facebook" 232 | ], 233 | "outbound":"bypass" 234 | }, 235 | { 236 | "geosite":[ 237 | "rule-indo" 238 | ], 239 | "outbound":"Lock Region ID" 240 | }, 241 | { 242 | "geoip":[ 243 | "id" 244 | ], 245 | "outbound":"Lock Region ID" 246 | }, 247 | { 248 | "ip_cidr": [ 249 | "8.8.8.8" 250 | ], 251 | "outbound": "Internet" 252 | }, 253 | { 254 | "inbound": [ 255 | "dns-in" 256 | ], 257 | "outbound": "dns-out" 258 | }, 259 | { 260 | "outbound": "dns-out", 261 | "port": [ 262 | 53 263 | ] 264 | }, 265 | { 266 | "ip_cidr": [ 267 | "224.0.0.0/3", 268 | "ff00::/8" 269 | ], 270 | "outbound": "block", 271 | "source_ip_cidr": [ 272 | "224.0.0.0/3", 273 | "ff00::/8" 274 | ] 275 | } 276 | ] 277 | } 278 | } -------------------------------------------------------------------------------- /NekoBoxForAndroid/pro.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "domain_suffix": [ 6 | ".arpa.", 7 | ".arpa" 8 | ], 9 | "server": "dns-block" 10 | } 11 | ], 12 | "servers": [ 13 | { 14 | "address": "8.8.8.8", 15 | "address_resolver": "dns-direct", 16 | "strategy": "ipv4_only", 17 | "tag": "dns-remote" 18 | }, 19 | { 20 | "address": "1.1.1.1", 21 | "address_resolver": "dns-local", 22 | "detour": "direct", 23 | "strategy": "ipv4_only", 24 | "tag": "dns-direct" 25 | }, 26 | { 27 | "address": "underlying://0.0.0.0", 28 | "detour": "direct", 29 | "tag": "dns-local" 30 | }, 31 | { 32 | "address": "rcode://success", 33 | "tag": "dns-block" 34 | } 35 | ], 36 | "strategy": "ipv4_only" 37 | }, 38 | "experimental": { 39 | "clash_api": { 40 | "cache_file": "../cache/clash.db", 41 | "external_controller": "127.0.0.1:9090", 42 | "external_ui": "../files/yacd" 43 | } 44 | }, 45 | "inbounds": [ 46 | { 47 | "listen": "0.0.0.0", 48 | "listen_port": 6450, 49 | "override_address": "8.8.8.8", 50 | "override_port": 53, 51 | "tag": "dns-in", 52 | "type": "direct" 53 | }, 54 | { 55 | "domain_strategy":"ipv4_only", 56 | "endpoint_independent_nat": true, 57 | "inet4_address": [ 58 | "172.19.0.1/28" 59 | ], 60 | "sniff": true, 61 | "stack": "system", 62 | "tag": "tun-in", 63 | "type": "tun" 64 | }, 65 | { 66 | "domain_strategy":"ipv4_only", 67 | "listen": "127.0.0.1", 68 | "listen_port": 2080, 69 | "sniff": true, 70 | "tag": "mixed-in", 71 | "type": "mixed" 72 | } 73 | ], 74 | "log":{ 75 | "level": "info" 76 | }, 77 | "outbounds": [ 78 | { 79 | "tag": "Internet", 80 | "type": "selector", 81 | "outbounds":[ 82 | "Best Latency", 83 | "proxy A", 84 | "proxy B", 85 | "proxy C", 86 | "proxy D" 87 | ] 88 | }, 89 | { 90 | "tag": "Best Latency", 91 | "type": "urltest", 92 | "outbounds":[ 93 | "proxy A", 94 | "proxy B", 95 | "proxy C", 96 | "proxy D" 97 | ], 98 | "url": "https://detectportal.firefox.com/success.txt", 99 | "interval": "60s", 100 | "tolerance": 0 101 | }, 102 | { 103 | "tag": "Lock Region ID", 104 | "type": "selector", 105 | "outbounds":[ 106 | "proxy A", 107 | "proxy B", 108 | "proxy C", 109 | "proxy D" 110 | ] 111 | }, 112 | { 113 | "tag": "Option ADs", 114 | "type": "selector", 115 | "outbounds":[ 116 | "block", 117 | "Internet" 118 | ] 119 | }, 120 | { 121 | "tag": "Option P0rn", 122 | "type": "selector", 123 | "outbounds":[ 124 | "block", 125 | "Internet" 126 | ] 127 | }, 128 | { 129 | "domain_strategy": "ipv4_only", 130 | "tag": "proxy A", 131 | // place 1 account here 132 | // check example account at our repo 133 | }, 134 | { 135 | "domain_strategy": "ipv4_only", 136 | "tag": "proxy B", 137 | // place 1 account here 138 | // check example account at our repo 139 | }, 140 | { 141 | "domain_strategy": "ipv4_only", 142 | "tag": "proxy C", 143 | // place 1 account here 144 | // check example account at our repo 145 | }, 146 | { 147 | "domain_strategy": "ipv4_only", 148 | "tag": "proxy D", 149 | // place 1 account here 150 | // check example account at our repo 151 | }, 152 | { 153 | "tag": "direct", 154 | "type": "direct" 155 | }, 156 | { 157 | "tag": "bypass", 158 | "type": "direct" 159 | }, 160 | { 161 | "tag": "block", 162 | "type": "block" 163 | }, 164 | { 165 | "tag": "dns-out", 166 | "type": "dns" 167 | } 168 | ], 169 | "route": { 170 | "auto_detect_interface": true, 171 | "final": "Internet", 172 | "rules": [ 173 | { 174 | "network": "udp", 175 | "geosite":[ 176 | "google" 177 | ], 178 | "geoip":[ 179 | "google" 180 | ], 181 | "port": [ 182 | 443 183 | ], 184 | "outbound": "block" 185 | }, 186 | { 187 | "domain_suffix": [ 188 | "googlesyndication.com" 189 | ], 190 | "outbound": "Internet" 191 | }, 192 | { 193 | "geosite": [ 194 | "rule-ads", 195 | "oisd-full" 196 | ], 197 | "outbound": "Option ADs" 198 | }, 199 | { 200 | "geosite":[ 201 | "oisd-nsfw" 202 | ], 203 | "outbound":"Option P0rn" 204 | }, 205 | { 206 | "port":[ 207 | 3478, 208 | 4244, 209 | 5222, 210 | 5223, 211 | 5242, 212 | 45395, 213 | 50318, 214 | 59234 215 | ], 216 | "geoip":[ 217 | "facebook" 218 | ], 219 | "outbound":"bypass" 220 | }, 221 | { 222 | "geosite":[ 223 | "rule-indo" 224 | ], 225 | "outbound":"Lock Region ID" 226 | }, 227 | { 228 | "geoip":[ 229 | "id" 230 | ], 231 | "outbound":"Lock Region ID" 232 | }, 233 | { 234 | "ip_cidr": [ 235 | "8.8.8.8" 236 | ], 237 | "outbound": "Internet" 238 | }, 239 | { 240 | "inbound": [ 241 | "dns-in" 242 | ], 243 | "outbound": "dns-out" 244 | }, 245 | { 246 | "outbound": "dns-out", 247 | "port": [ 248 | 53 249 | ] 250 | }, 251 | { 252 | "ip_cidr": [ 253 | "224.0.0.0/3", 254 | "ff00::/8" 255 | ], 256 | "outbound": "block", 257 | "source_ip_cidr": [ 258 | "224.0.0.0/3", 259 | "ff00::/8" 260 | ] 261 | } 262 | ] 263 | } 264 | } -------------------------------------------------------------------------------- /NekoBoxForAndroid/ultimate.json: -------------------------------------------------------------------------------- 1 | { 2 | "dns": { 3 | "rules": [ 4 | { 5 | "geosite":[ 6 | "rule-malicious" 7 | ], 8 | "server":"dns-block" 9 | }, 10 | { 11 | "domain_suffix": [ 12 | ".arpa.", 13 | ".arpa" 14 | ], 15 | "server": "dns-block" 16 | } 17 | ], 18 | "servers": [ 19 | { 20 | "address": "8.8.8.8", 21 | "address_resolver": "dns-direct", 22 | "strategy": "ipv4_only", 23 | "tag": "dns-remote" 24 | }, 25 | { 26 | "address": "1.1.1.1", 27 | "address_resolver": "dns-local", 28 | "detour": "direct", 29 | "strategy": "ipv4_only", 30 | "tag": "dns-direct" 31 | }, 32 | { 33 | "address": "underlying://0.0.0.0", 34 | "detour": "direct", 35 | "tag": "dns-local" 36 | }, 37 | { 38 | "address": "rcode://success", 39 | "tag": "dns-block" 40 | } 41 | ], 42 | "strategy": "ipv4_only" 43 | }, 44 | "experimental": { 45 | "clash_api": { 46 | "cache_file": "../cache/clash.db", 47 | "external_controller": "127.0.0.1:9090", 48 | "external_ui": "../files/yacd" 49 | } 50 | }, 51 | "inbounds": [ 52 | { 53 | "listen": "0.0.0.0", 54 | "listen_port": 6450, 55 | "override_address": "8.8.8.8", 56 | "override_port": 53, 57 | "tag": "dns-in", 58 | "type": "direct" 59 | }, 60 | { 61 | "domain_strategy":"ipv4_only", 62 | "endpoint_independent_nat": true, 63 | "inet4_address": [ 64 | "172.19.0.1/28" 65 | ], 66 | "sniff": true, 67 | "stack": "system", 68 | "tag": "tun-in", 69 | "type": "tun" 70 | }, 71 | { 72 | "domain_strategy":"ipv4_only", 73 | "listen": "127.0.0.1", 74 | "listen_port": 2080, 75 | "sniff": true, 76 | "tag": "mixed-in", 77 | "type": "mixed" 78 | } 79 | ], 80 | "log":{ 81 | "level": "info" 82 | }, 83 | "outbounds": [ 84 | { 85 | "tag": "Internet", 86 | "type": "selector", 87 | "outbounds":[ 88 | "Best Latency", 89 | "proxy A", 90 | "proxy B", 91 | "proxy C", 92 | "proxy D" 93 | ] 94 | }, 95 | { 96 | "tag": "Best Latency", 97 | "type": "urltest", 98 | "outbounds":[ 99 | "proxy A", 100 | "proxy B", 101 | "proxy C", 102 | "proxy D" 103 | ], 104 | "url": "https://detectportal.firefox.com/success.txt", 105 | "interval": "60s", 106 | "tolerance": 0 107 | }, 108 | { 109 | "tag": "Lock Region ID", 110 | "type": "selector", 111 | "outbounds":[ 112 | "proxy A", 113 | "proxy B", 114 | "proxy C", 115 | "proxy D" 116 | ] 117 | }, 118 | { 119 | "tag": "Option ADs", 120 | "type": "selector", 121 | "outbounds":[ 122 | "block", 123 | "Internet" 124 | ] 125 | }, 126 | { 127 | "tag": "Option P0rn", 128 | "type": "selector", 129 | "outbounds":[ 130 | "block", 131 | "Internet" 132 | ] 133 | }, 134 | { 135 | "domain_strategy": "ipv4_only", 136 | "tag": "proxy A", 137 | // place 1 account here 138 | // check example account at our repo 139 | }, 140 | { 141 | "domain_strategy": "ipv4_only", 142 | "tag": "proxy B", 143 | // place 1 account here 144 | // check example account at our repo 145 | }, 146 | { 147 | "domain_strategy": "ipv4_only", 148 | "tag": "proxy C", 149 | // place 1 account here 150 | // check example account at our repo 151 | }, 152 | { 153 | "domain_strategy": "ipv4_only", 154 | "tag": "proxy D", 155 | // place 1 account here 156 | // check example account at our repo 157 | }, 158 | { 159 | "tag": "direct", 160 | "type": "direct" 161 | }, 162 | { 163 | "tag": "bypass", 164 | "type": "direct" 165 | }, 166 | { 167 | "tag": "block", 168 | "type": "block" 169 | }, 170 | { 171 | "tag": "dns-out", 172 | "type": "dns" 173 | } 174 | ], 175 | "route": { 176 | "auto_detect_interface": true, 177 | "final": "Internet", 178 | "rules": [ 179 | { 180 | "network": "udp", 181 | "geosite":[ 182 | "google" 183 | ], 184 | "geoip":[ 185 | "google" 186 | ], 187 | "port": [ 188 | 443 189 | ], 190 | "outbound": "block" 191 | }, 192 | { 193 | "domain_suffix": [ 194 | "googlesyndication.com" 195 | ], 196 | "outbound": "Internet" 197 | }, 198 | { 199 | "geosite":[ 200 | "rule-malicious" 201 | ], 202 | "outbound":"block" 203 | }, 204 | { 205 | "geosite": [ 206 | "rule-ads", 207 | "oisd-full", 208 | "category-ads-all" 209 | ], 210 | "outbound": "Option ADs" 211 | }, 212 | { 213 | "geosite":[ 214 | "oisd-nsfw", 215 | "category-porn" 216 | ], 217 | "outbound":"Option P0rn" 218 | }, 219 | { 220 | "port":[ 221 | 3478, 222 | 4244, 223 | 5222, 224 | 5223, 225 | 5242, 226 | 45395, 227 | 50318, 228 | 59234 229 | ], 230 | "geoip":[ 231 | "facebook" 232 | ], 233 | "outbound":"bypass" 234 | }, 235 | { 236 | "geosite":[ 237 | "rule-indo" 238 | ], 239 | "outbound":"Lock Region ID" 240 | }, 241 | { 242 | "geoip":[ 243 | "id" 244 | ], 245 | "outbound":"Lock Region ID" 246 | }, 247 | { 248 | "ip_cidr": [ 249 | "8.8.8.8" 250 | ], 251 | "outbound": "Internet" 252 | }, 253 | { 254 | "inbound": [ 255 | "dns-in" 256 | ], 257 | "outbound": "dns-out" 258 | }, 259 | { 260 | "outbound": "dns-out", 261 | "port": [ 262 | 53 263 | ] 264 | }, 265 | { 266 | "ip_cidr": [ 267 | "224.0.0.0/3", 268 | "ff00::/8" 269 | ], 270 | "outbound": "block", 271 | "source_ip_cidr": [ 272 | "224.0.0.0/3", 273 | "ff00::/8" 274 | ] 275 | } 276 | ] 277 | } 278 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # sing-box-examples 2 | sing-box examples! 3 | Just another set of example client for sing-box. -------------------------------------------------------------------------------- /Sing-boxForMobile(iOS SFI or Android SFA)/README.md: -------------------------------------------------------------------------------- 1 | # NOTICE ! 2 | 3 | ## [PLEASE USE OUR CUSTOM GEOASSET](https://github.com/malikshi/sing-box-geo) 4 | 5 | - [GEOSITE](https://github.com/malikshi/sing-box-geo/releases/latest/download/geosite.db) 6 | - [GEOIP](https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db) 7 | 8 | 9 | ## MULTIPLEX 10 | 11 | server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 12 | 13 | ## Below Android 10 / Non-privileged 14 | 15 | Changes inbound TUN become like this 16 | 17 | ```json 18 | { 19 | "type": "tun", 20 | "tag": "tun-in", 21 | "interface_name": "tun0", 22 | "inet4_address": "172.19.0.1/30", 23 | "inet6_address": "fdfe:dcba:9876::1/126", 24 | "mtu": 30000, 25 | "auto_route": true, 26 | "strict_route": true, 27 | "endpoint_independent_nat": true, 28 | "stack": "gvisor", 29 | "sniff": true, 30 | "domain_strategy":"ipv4_only" 31 | } 32 | ``` 33 | 34 | ## EXAMPLE LIST 35 | 36 | List Examples to fill proxy A, proxy B, proxy C, proxy D in base.json/config.json 37 | 38 | ## [Trojan GFW](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20GFW%20or%20TLS/README.md) 39 | 40 | ## [Trojan Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20Websocket/README.md) 41 | 42 | ## [Trojan gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Trojan%20gRPC/README.md) 43 | 44 | ## [Vmess Websocket](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20Websocket/README.md) 45 | 46 | ## [Vmess gRPC](https://github.com/malikshi/sing-box-examples/blob/main/VMess%20gRPC/README.md) 47 | 48 | ## [Vless Websocket](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20Websocket/README.md) 49 | 50 | ## [Vless gRPC](https://github.com/malikshi/sing-box-examples/blob/main/Vless%20gRPC/README.md) 51 | 52 | 53 | ## HOW TO FILL PROXY A, B, C, D 54 | 55 | Since many people doesn't understand json that well so added how to fill proxy a, b, c, d in sing-box format 56 | ```json 57 | { 58 | "domain_strategy": "ipv4_only", 59 | "tag": "proxy A", 60 | 61 | "type": "trojan", 62 | "server": "IP/YOURDOMAINSERVER", 63 | "server_port": 443, 64 | "password": "PASSWORD", 65 | "tls": { 66 | "enabled": true, 67 | "server_name": "TARGETDOMAIN", 68 | "insecure": true, 69 | "utls": { 70 | "enabled": true, 71 | "fingerprint": "chrome" 72 | } 73 | }, 74 | "multiplex": { 75 | "enabled": false, 76 | "protocol": "smux", 77 | "max_streams": 32 78 | } 79 | }, 80 | { 81 | "domain_strategy": "ipv4_only", 82 | "tag": "proxy B", 83 | 84 | "type": "trojan", 85 | "server": "IP/YOURDOMAINSERVER", 86 | "server_port": 443, 87 | "password": "PASSWORD", 88 | "tls": { 89 | "enabled": true, 90 | "server_name": "TARGETDOMAIN", 91 | "insecure": true, 92 | "utls": { 93 | "enabled": true, 94 | "fingerprint": "chrome" 95 | } 96 | }, 97 | "transport": { 98 | "type": "ws", 99 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 100 | "headers": { 101 | "Host": "TARGETDOMAIN" 102 | } 103 | }, 104 | "multiplex": { 105 | "enabled": false, 106 | "protocol": "smux", 107 | "max_streams": 32 108 | } 109 | }, 110 | { 111 | "domain_strategy": "ipv4_only", 112 | "tag": "proxy C", 113 | 114 | "type": "vmess", 115 | "server": "IP/YOURDOMAINSERVER", 116 | "server_port": 443, 117 | "uuid": "UUID", 118 | "security": "auto", 119 | "alter_id": 0, 120 | "global_padding": false, 121 | "authenticated_length": true, 122 | "tls": { 123 | "enabled": true, 124 | "server_name": "TARGETDOMAIN", 125 | "insecure": true, 126 | "utls": { 127 | "enabled": true, 128 | "fingerprint": "chrome" 129 | } 130 | }, 131 | "packet_encoding": "", 132 | "transport": { 133 | "type": "ws", 134 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 135 | "headers": { 136 | "Host": "YOURDOMAINSERVER" 137 | } 138 | }, 139 | "multiplex": { 140 | "enabled": false, 141 | "protocol": "smux", 142 | "max_streams": 32 143 | } 144 | }, 145 | { 146 | "domain_strategy": "ipv4_only", 147 | "tag": "proxy D", 148 | 149 | "type": "vless", 150 | "server": "IP/YOURDOMAINSERVER", 151 | "server_port": 443, 152 | "uuid": "UUID", 153 | "flow": "", 154 | "tls": { 155 | "enabled": true, 156 | "server_name": "TARGETDOMAIN", 157 | "insecure": true, 158 | "utls": { 159 | "enabled": true, 160 | "fingerprint": "chrome" 161 | } 162 | }, 163 | "packet_encoding": "xudp", 164 | "transport": { 165 | "type": "ws", 166 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 167 | "headers": { 168 | "Host": "YOURDOMAINSERVER" 169 | } 170 | } 171 | } 172 | ``` -------------------------------------------------------------------------------- /Sing-boxForMobile(iOS SFI or Android SFA)/sing-box.json: -------------------------------------------------------------------------------- 1 | { 2 | "log": { 3 | "disabled": false, 4 | "level": "warn", 5 | "timestamp": true 6 | }, 7 | "experimental": { 8 | "clash_api": { 9 | "external_controller": "0.0.0.0:9090", 10 | "external_ui": "yacd", 11 | "external_ui_download_url": "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip", 12 | "external_ui_download_detour": "Internet", 13 | "secret": "VVIPIPTUNNELS", 14 | "default_mode": "rule", 15 | "store_selected": true, 16 | "cache_file": "clash.db" 17 | } 18 | }, 19 | "dns": { 20 | "servers": [ 21 | { 22 | "tag": "Internet-dns", 23 | "address": "1.0.0.1", 24 | "strategy": "ipv4_only", 25 | "detour": "Internet" 26 | }, 27 | { 28 | "tag": "Best Latency-dns", 29 | "address": "1.1.1.1", 30 | "strategy": "ipv4_only", 31 | "detour": "Best Latency" 32 | }, 33 | { 34 | "tag": "Lock Region ID-dns", 35 | "address": "8.8.8.8", 36 | "strategy": "ipv4_only", 37 | "detour": "Lock Region ID" 38 | }, 39 | { 40 | "tag": "WhatsApp-dns", 41 | "address": "8.8.4.4", 42 | "strategy": "ipv4_only", 43 | "detour": "WhatsApp" 44 | }, 45 | { 46 | "tag": "GAMESMAX(ML/FF/AOV)-dns", 47 | "address": "8.8.4.4", 48 | "strategy": "ipv4_only", 49 | "detour": "GAMESMAX(ML/FF/AOV)" 50 | }, 51 | { 52 | "tag": "Route Port Game-dns", 53 | "address": "9.9.9.9", 54 | "strategy": "ipv4_only", 55 | "detour": "Route Port Game" 56 | }, 57 | { 58 | "tag": "direct-dns", 59 | "address": "149.112.112.112", 60 | "strategy": "ipv4_only", 61 | "detour": "direct" 62 | }, 63 | { 64 | "tag": "block-dns", 65 | "address": "rcode://success" 66 | } 67 | ], 68 | "rules": [ 69 | { 70 | "domain_suffix": [ 71 | ".arpa.", 72 | ".arpa" 73 | ], 74 | "server": "block-dns", 75 | "rewrite_ttl": 20 76 | }, 77 | { 78 | "network": "udp", 79 | "port": 443, 80 | "server": "block-dns", 81 | "rewrite_ttl": 20 82 | }, 83 | { 84 | "geosite": "rule-malicious", 85 | "server": "block-dns", 86 | "rewrite_ttl": 20 87 | }, 88 | { 89 | "outbound": "Internet", 90 | "server": "Internet-dns", 91 | "rewrite_ttl": 20 92 | }, 93 | { 94 | "outbound": "Best Latency", 95 | "server": "Best Latency-dns", 96 | "rewrite_ttl": 20 97 | }, 98 | { 99 | "outbound": "Lock Region ID", 100 | "server": "Lock Region ID-dns", 101 | "rewrite_ttl": 20 102 | }, 103 | { 104 | "outbound": "WhatsApp", 105 | "server": "WhatsApp-dns", 106 | "rewrite_ttl": 20 107 | }, 108 | { 109 | "outbound": "GAMESMAX(ML/FF/AOV)", 110 | "server": "GAMESMAX(ML/FF/AOV)-dns", 111 | "rewrite_ttl": 20 112 | }, 113 | { 114 | "outbound": "Route Port Game", 115 | "server": "Route Port Game-dns", 116 | "rewrite_ttl": 20 117 | }, 118 | { 119 | "outbound": "direct", 120 | "server": "direct-dns", 121 | "rewrite_ttl": 20 122 | }, 123 | { 124 | "outbound": "any", 125 | "server": "direct-dns", 126 | "rewrite_ttl": 20 127 | } 128 | ], 129 | "reverse_mapping": true, 130 | "strategy": "ipv4_only", 131 | "independent_cache": true 132 | }, 133 | "inbounds": [ 134 | { 135 | "type": "tun", 136 | "tag": "tun-in", 137 | "interface_name": "tun0", 138 | "inet4_address": "172.19.0.1/30", 139 | "inet6_address": "fdfe:dcba:9876::1/126", 140 | "mtu": 1358, 141 | "auto_route": true, 142 | "strict_route": true, 143 | "stack": "gvisor", 144 | "endpoint_independent_nat": true, 145 | "sniff": true 146 | } 147 | ], 148 | "outbounds": [ 149 | { 150 | "type": "selector", 151 | "tag": "Internet", 152 | "outbounds": [ 153 | "Best Latency", 154 | "Trojan GFW/TLS", 155 | "Trojan WS", 156 | "Vmess WS", 157 | "Vless WS", 158 | "Trojan gRPC", 159 | "Vmess gRPC", 160 | "Vless gRPC", 161 | "Vless Reality" 162 | ] 163 | }, 164 | { 165 | "type": "urltest", 166 | "tag": "Best Latency", 167 | "outbounds": [ 168 | "Trojan GFW/TLS", 169 | "Trojan WS", 170 | "Vmess WS", 171 | "Vless WS", 172 | "Trojan gRPC", 173 | "Vmess gRPC", 174 | "Vless gRPC", 175 | "Vless Reality" 176 | ], 177 | "url": "https://detectportal.firefox.com/success.txt", 178 | "interval": "1m0s" 179 | }, 180 | { 181 | "type": "selector", 182 | "tag": "Lock Region ID", 183 | "outbounds": [ 184 | "Trojan GFW/TLS", 185 | "Trojan WS", 186 | "Vmess WS", 187 | "Vless WS", 188 | "Trojan gRPC", 189 | "Vmess gRPC", 190 | "Vless gRPC", 191 | "Vless Reality" 192 | ] 193 | }, 194 | { 195 | "type": "selector", 196 | "tag": "WhatsApp", 197 | "outbounds": [ 198 | "direct", 199 | "Internet", 200 | "Best Latency", 201 | "Lock Region ID" 202 | ] 203 | }, 204 | { 205 | "type": "selector", 206 | "tag": "GAMESMAX(ML/FF/AOV)", 207 | "outbounds": [ 208 | "direct", 209 | "Internet", 210 | "Best Latency", 211 | "Lock Region ID" 212 | ] 213 | }, 214 | { 215 | "type": "selector", 216 | "tag": "Route Port Game", 217 | "outbounds": [ 218 | "direct", 219 | "Internet", 220 | "Best Latency", 221 | "Lock Region ID" 222 | ] 223 | }, 224 | { 225 | "type": "selector", 226 | "tag": "Option ADs", 227 | "outbounds": [ 228 | "block", 229 | "Internet" 230 | ] 231 | }, 232 | { 233 | "type": "selector", 234 | "tag": "Option P0rn", 235 | "outbounds": [ 236 | "block", 237 | "Internet" 238 | ] 239 | }, 240 | { 241 | "domain_strategy": "ipv4_only", 242 | "tag": "Trojan GFW/TLS", 243 | // https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20GFW%20or%20TLS 244 | "type": "trojan", 245 | "server": "IP/YOURDOMAINSERVER", 246 | "server_port": 443, 247 | "password": "PASSWORD", 248 | "tls": { 249 | "enabled": true, 250 | "server_name": "TARGETDOMAIN", 251 | "insecure": true, 252 | "utls": { 253 | "enabled": false, 254 | "fingerprint": "chrome" 255 | } 256 | }, 257 | "multiplex": { 258 | "enabled": false, 259 | "protocol": "smux", 260 | "max_streams": 32 261 | } 262 | }, 263 | { 264 | "domain_strategy": "ipv4_only", 265 | "tag": "Trojan WS", 266 | // https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20Websocket 267 | "type": "trojan", 268 | "server": "IP/YOURDOMAINSERVER", 269 | "server_port": 443, 270 | "password": "PASSWORD", 271 | // non tls : remove array tls 272 | "tls": { 273 | "enabled": true, 274 | "server_name": "TARGETDOMAIN", 275 | "insecure": true, 276 | "utls": { 277 | "enabled": false, 278 | "fingerprint": "chrome" 279 | } 280 | }, 281 | "transport": { 282 | "type": "ws", 283 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 284 | "headers": { 285 | "Host": "TARGETDOMAIN" 286 | } 287 | }, 288 | "multiplex": { 289 | "enabled": false, 290 | "protocol": "smux", 291 | "max_streams": 32 292 | } 293 | }, 294 | { 295 | "domain_strategy": "ipv4_only", 296 | "tag": "Vmess WS", 297 | // https://github.com/malikshi/sing-box-examples/tree/main/VMess%20Websocket 298 | "type": "vmess", 299 | "server": "IP/YOURDOMAINSERVER", 300 | "server_port": 443, 301 | "uuid": "UUID", 302 | "security": "auto", 303 | "alter_id": 0, 304 | "global_padding": false, 305 | "authenticated_length": true, 306 | // non tls : remove array tls 307 | "tls": { 308 | "enabled": true, 309 | "server_name": "TARGETDOMAIN", 310 | "insecure": true, 311 | "utls": { 312 | "enabled": false, 313 | "fingerprint": "chrome" 314 | } 315 | }, 316 | "packet_encoding": "", 317 | "transport": { 318 | "type": "ws", 319 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 320 | "headers": { 321 | "Host": "YOURDOMAINSERVER" 322 | } 323 | }, 324 | "multiplex": { 325 | "enabled": false, 326 | "protocol": "smux", 327 | "max_streams": 32 328 | } 329 | }, 330 | { 331 | "domain_strategy": "ipv4_only", 332 | "tag": "Vless WS", 333 | 334 | "type": "vless", 335 | "server": "IP/YOURDOMAINSERVER", 336 | "server_port": 443, 337 | "uuid": "UUID", 338 | "flow": "", 339 | "tls": { 340 | "enabled": true, 341 | "server_name": "TARGETDOMAIN", 342 | "insecure": true, 343 | "utls": { 344 | "enabled": false, 345 | "fingerprint": "chrome" 346 | } 347 | }, 348 | "multiplex": { 349 | "enabled": false, 350 | "protocol": "smux", 351 | "max_streams": 32 352 | }, 353 | "packet_encoding": "xudp", 354 | "transport": { 355 | "type": "ws", 356 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 357 | "headers": { 358 | "Host": "YOURDOMAINSERVER" 359 | } 360 | } 361 | }, 362 | { 363 | "domain_strategy": "ipv4_only", 364 | "tag": "Trojan gRPC", 365 | // https://github.com/malikshi/sing-box-examples/tree/main/Trojan%20gRPC 366 | "type": "trojan", 367 | "server": "IP/YOURDOMAINSERVER", 368 | "server_port": 443, 369 | "password": "PASSWORD", 370 | "tls": { 371 | "enabled": true, 372 | "server_name": "TARGETDOMAIN", 373 | "insecure": true, 374 | "utls": { 375 | "enabled": false, 376 | "fingerprint": "chrome" 377 | } 378 | }, 379 | "transport": { 380 | "type": "grpc", 381 | "service_name": "buy-trojan-grpc-pm-telegram-at-synricha", 382 | "idle_timeout": "15s", 383 | "ping_timeout": "15s", 384 | "permit_without_stream": false 385 | }, 386 | "multiplex": { 387 | "enabled": false, 388 | "protocol": "smux", 389 | "max_streams": 32 390 | } 391 | }, 392 | { 393 | "domain_strategy": "ipv4_only", 394 | "tag": "Vmess gRPC", 395 | // https://github.com/malikshi/sing-box-examples/tree/main/VMess%20gRPC 396 | "type": "vmess", 397 | "server": "IP/YOURDOMAINSERVER", 398 | "server_port": 443, 399 | "uuid": "UUID", 400 | "security": "auto", 401 | "alter_id": 0, 402 | "global_padding": false, 403 | "authenticated_length": true, 404 | "tls": { 405 | "enabled": true, 406 | "server_name": "TARGETDOMAIN", 407 | "insecure": true, 408 | "utls": { 409 | "enabled": false, 410 | "fingerprint": "chrome" 411 | } 412 | }, 413 | "packet_encoding": "", 414 | "transport": { 415 | "type": "grpc", 416 | "service_name": "buy-vmess-grpc-pm-telegram-at-synricha", 417 | "idle_timeout": "15s", 418 | "ping_timeout": "15s", 419 | "permit_without_stream": false 420 | }, 421 | "multiplex": { 422 | "enabled": false, 423 | "protocol": "smux", 424 | "max_streams": 32 425 | } 426 | }, 427 | { 428 | "domain_strategy": "ipv4_only", 429 | "tag": "Vless gRPC", 430 | // https://github.com/malikshi/sing-box-examples/tree/main/Vless%20gRPC 431 | "type": "vless", 432 | "server": "IP/YOURDOMAINSERVER", 433 | "server_port": 443, 434 | "uuid": "UUID", 435 | "flow": "", 436 | "tls": { 437 | "enabled": true, 438 | "server_name": "TARGETDOMAIN", 439 | "insecure": true, 440 | "utls": { 441 | "enabled": false, 442 | "fingerprint": "chrome" 443 | } 444 | }, 445 | "multiplex": { 446 | "enabled": false, 447 | "protocol": "smux", 448 | "max_streams": 32 449 | }, 450 | "packet_encoding": "xudp", 451 | "transport": { 452 | "type": "grpc", 453 | "service_name": "buy-vless-grpc-pm-telegram-at-synricha", 454 | "idle_timeout": "15s", 455 | "ping_timeout": "15s", 456 | "permit_without_stream": false 457 | } 458 | }, 459 | { 460 | "domain_strategy": "ipv4_only", 461 | "tag": "Vless Reality", 462 | // https://github.com/malikshi/sing-box-examples/tree/main/Vless%20uTLS%20Reality 463 | "type": "vless", 464 | "server": "IP", 465 | "server_port": 30000, 466 | "uuid": "UUID", 467 | "flow": "xtls-rprx-vision", 468 | "tls": { 469 | "enabled": true, 470 | "server_name": "TARGETDOMAIN", 471 | "utls": { 472 | "enabled": true, 473 | "fingerprint": "chrome" 474 | }, 475 | "reality": { 476 | "enabled": true, 477 | "public_key": "PUBLIC_KEY", 478 | "short_id": "SHORT_ID" 479 | } 480 | }, 481 | "multiplex": { 482 | "enabled": false, 483 | "protocol": "h2mux", 484 | "max_streams": 32 485 | }, 486 | "packet_encoding": "xudp" 487 | }, 488 | { 489 | "type": "direct", 490 | "tag": "direct" 491 | }, 492 | { 493 | "type": "block", 494 | "tag": "block" 495 | }, 496 | { 497 | "type": "dns", 498 | "tag": "dns-out" 499 | } 500 | ], 501 | "route": { 502 | "auto_detect_interface": true, 503 | "override_android_vpn": true, 504 | "final": "Internet", 505 | "geoip": { 506 | "download_url": "https://github.com/malikshi/sing-box-geo/releases/latest/download/geoip.db", 507 | "download_detour": "Best Latency" 508 | }, 509 | "geosite": { 510 | "download_url": "https://github.com/malikshi/v2ray-rules-dat/releases/latest/download/geosite.db", 511 | "download_detour": "Best Latency" 512 | }, 513 | "rules": [ 514 | { 515 | "outbound": "dns-out", 516 | "port": [ 517 | 53 518 | ] 519 | }, 520 | { 521 | "network":"udp", 522 | "port":[443], 523 | "outbound":"block" 524 | }, 525 | { 526 | "domain_suffix": [ 527 | "googlesyndication.com" 528 | ], 529 | "outbound": "Internet" 530 | }, 531 | { 532 | "geosite": [ 533 | "rule-ads", 534 | "oisd-full" 535 | ], 536 | "outbound": "Option ADs" 537 | }, 538 | { 539 | "geosite":[ 540 | "oisd-nsfw", 541 | "category-porn" 542 | ], 543 | "outbound":"Option P0rn" 544 | }, 545 | { 546 | "geosite": "whatsapp", 547 | "outbound": "WhatsApp" 548 | }, 549 | { 550 | "geoip": "facebook", 551 | "port": [ 552 | 3478, 553 | 4244, 554 | 5222, 555 | 5223, 556 | 5242, 557 | 45395, 558 | 50318, 559 | 59234 560 | ], 561 | "outbound": "WhatsApp" 562 | }, 563 | { 564 | "protocol":"stun", 565 | "outbound":"Internet" 566 | }, 567 | { 568 | "geosite":[ 569 | "rule-indo" 570 | ], 571 | "outbound":"Lock Region ID" 572 | }, 573 | { 574 | "network":"udp", 575 | "port":[ 576 | 2702,3702,8443,9120,9992,10003, // MLBB 577 | 6006,6008,6674,7889,8008,8130,8443,9008,9120,10100,12008,13008, // FF 578 | 8011,9030,10491,10612,12235,13004,13748,17000,17500,10039,10096,11455,13894,13972 // AOV 579 | ], 580 | "port_range":[ 581 | "4001:4009","5000:5221","5224:5241","5243:5287","5289:5352","5354:5509","5517:5529","5551:5559","5601:5700","9000:9010","30000:30300", // MLBB 582 | "7006:7008","8001:8012","10000:10015","11000:11019", // FF 583 | "10101:10201","10080:10110","17000:18000" // AOV 584 | ], 585 | "outbound":"GAMESMAX(ML/FF/AOV)" 586 | }, 587 | { 588 | "network":"tcp", 589 | "port":[ 590 | 5517,8443,9443,10003, //MLBB 591 | 6006,6008,6674,7889,9006,9137,12006,12008,13006,15006,20561,39003,39006,39698,39779,39800, //FF 592 | 10012,14000,15692,17000,17500,18081,20371, // PUBG Mobile 593 | 8013,8085,18082,20000,50000,65010,65050, //CODM Garena 594 | 8013,18082,20166,31003,33445,50000, //AOV Garena 595 | 42472, //Genshin Impact 596 | 14422, //Bleach ES 597 | 16999, //growrtopia 598 | 8013,8888, //apex|ff|mlbb|pubg 599 | 30031, //Tower of Fantasy (chrome) 600 | 14009,40005, //LOST SAGA PC/GN 601 | 9339, //Supercell Games 602 | 2099,8088, //Valorant 603 | 5692,8085,8500,10000,10082,20000,25000,29134,31003 //Honor of Kings 604 | ], 605 | "port_range":[ 606 | "5000:5221","5224:5227","5229:5241","5243:5287","5289:5352","5354:5509","5520:5529","5551:5559","5601:5700","9000:9010","30000:30300", //MLBB 607 | "7006:7008","8001:8012","10000:10012","11000:11019", //FF 608 | "8085:8088","10000:10019","20000:20002", //PUBG Mobile 609 | "10000:10001","20000:20001", //AOV Garena 610 | "9330:9340", //Clash of Clans (COC) & Clash Royale 611 | "2080:2099", //League of Legends (LOL) Mobile 612 | "9100:9200","8230:8250","8110:8120","27000:28998", //DOTA2 613 | "7770:7790", //FIFA ONLINE 614 | "44590:44610", //Point Blank Mobile (PB:Mobile) 615 | "10500:10515", //LINE Let’s Get Rich 616 | "27015:27030","27036:27037", //Among Us 617 | "39190:39200","49001:49190", //PB Zeppeto PB PC 618 | "8393:8400" //Valorant 619 | ], 620 | "outbound":"Route Port Game" 621 | }, 622 | { 623 | "network":"udp", 624 | "port":[ 625 | 2702,3702,8443,9120,9992,10003, // MLBB 626 | 6006,6008,6674,7889,8008,8130,8443,9008,9120,10100,12008,13008, //FF 627 | 8700,10013,10019,10039,10096,10491,10612,11455,12235,13748,13894,13972,17000,17500, //PUBG Mobile 628 | 8700,9030, //CODM Garena 629 | 8011,9030,10491,10612,12235,13004,13748,17000,17500,10039,10096,11455,13894,13972, // AOV 630 | 42472, //Genshin Impact 631 | 5100, //League of Legends (LOL) Mobile 632 | 39000, //DOTA2 633 | 4380,27036, //Among Us 634 | 14422, //Bleach ES 635 | 16999, //growrtopia 636 | 8013,8888, // apex|ff|mlbb|pubg 637 | 8000,30104, //Tower of Fantasy (chrome) 638 | 14009,40005, //LOST SAGA PC/GN 639 | 8088, //Valorant 640 | 5010,6650,8011,8700,20000,25000,29134,30000 //Honor of Kings 641 | ], 642 | "port_range":[ 643 | "4001:4009","5000:5221","5224:5241","5243:5287","5289:5352","5354:5509","5517:5529","5551:5559","5601:5700","9000:9010","30000:30300", // MLBB 644 | "7006:7008","8001:8012","10000:10015","11000:11019", //FF 645 | "7086:7995","8011:8013","9030:9031","20000:20002","12070:12460","41182:41192", //PUBG Mobile 646 | "7500:7995","10010:10019","20000:20001", //CODM Garena 647 | "10101:10201","10080:10110","17000:18000", // AOV 648 | "5055:5058", //Stumble Guys 649 | "22101:22102", //Genshin Impact 650 | "9330:9340", //Clash of Clans (COC) & Clash Royale 651 | "27000:28998", //DOTA2 652 | "16300:16350", //FIFA ONLINE 653 | "40000:40010", //Point Blank Mobile (PB:Mobile) 654 | "60970:60980", //Dream League Soccer 655 | "27000:27031", //Among Us 656 | "40000:40010", //PB Zeppeto PB PC 657 | "7000:8000","8180:8181","27016:27024","54000:54012" //Valorant 658 | ], 659 | "outbound":"Route Port Game" 660 | }, 661 | { 662 | "geoip":[ 663 | "id" 664 | ], 665 | "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], 666 | "outbound":"Lock Region ID" 667 | }, 668 | {"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 669 | {"port_range":["1023:42068","42070:65535"],"outbound":"Route Port Game"} // ports games 670 | ] 671 | } 672 | } -------------------------------------------------------------------------------- /Trojan GFW or TLS/README.md: -------------------------------------------------------------------------------- 1 | # Trojan TLS/GFW 2 | ## Trojan TLS/GFW SNI 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "trojan", 7 | "server": "IP/YOURDOMAINSERVER", 8 | "server_port": 443, 9 | "password": "PASSWORD", 10 | "tls": { 11 | "enabled": true, 12 | "server_name": "TARGETDOMAIN", 13 | "insecure": true, 14 | "utls": { 15 | "enabled": true, 16 | "fingerprint": "chrome" 17 | } 18 | }, 19 | "multiplex": { 20 | "enabled": false, 21 | "protocol": "smux", 22 | "max_streams": 32 23 | } 24 | } 25 | ``` 26 | NOTE: 27 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 28 | - TARGETDOMAIN: **Fill with domain target SNI** 29 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 30 | -------------------------------------------------------------------------------- /Trojan Websocket/README.md: -------------------------------------------------------------------------------- 1 | # Trojan Websocket 2 | ## Trojan Websocket over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "trojan", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "password": "PASSWORD", 10 | "tls": { 11 | "enabled": true, 12 | "server_name": "YOURDOMAINSERVER", 13 | "insecure": true, 14 | "utls": { 15 | "enabled": true, 16 | "fingerprint": "chrome" 17 | } 18 | }, 19 | "transport": { 20 | "type": "ws", 21 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 22 | "headers": { 23 | "Host": "YOURDOMAINSERVER" 24 | } 25 | }, 26 | "multiplex": { 27 | "enabled": false, 28 | "protocol": "smux", 29 | "max_streams": 32 30 | } 31 | } 32 | ``` 33 | NOTE: 34 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 35 | - YOURDOMAINSERVER: **Fill with domain of your server** 36 | - path: **Fill with path of your websocket server** 37 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 38 | 39 | ## Trojan Websocket SNI 40 | ```json 41 | { 42 | "tag": "proxy A", 43 | "type": "trojan", 44 | "server": "IP/YOURDOMAINSERVER", 45 | "server_port": 443, 46 | "password": "PASSWORD", 47 | "tls": { 48 | "enabled": true, 49 | "server_name": "TARGETDOMAIN", 50 | "insecure": true, 51 | "utls": { 52 | "enabled": true, 53 | "fingerprint": "chrome" 54 | } 55 | }, 56 | "transport": { 57 | "type": "ws", 58 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 59 | "headers": { 60 | "Host": "TARGETDOMAIN" 61 | } 62 | }, 63 | "multiplex": { 64 | "enabled": false, 65 | "protocol": "smux", 66 | "max_streams": 32 67 | } 68 | } 69 | ``` 70 | NOTE: 71 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 72 | - TARGETDOMAIN: **Fill with domain target SNI** 73 | - path: **Fill with path of your websocket server** 74 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 75 | 76 | ## Trojan Websocket NON TLS over CDN Cloudlfare 77 | ```json 78 | { 79 | "tag": "proxy A", 80 | "type": "trojan", 81 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 82 | "server_port": 443, 83 | "password": "PASSWORD", 84 | "transport": { 85 | "type": "ws", 86 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 87 | "headers": { 88 | "Host": "YOURDOMAINSERVER" 89 | } 90 | }, 91 | "multiplex": { 92 | "enabled": false, 93 | "protocol": "smux", 94 | "max_streams": 32 95 | } 96 | } 97 | ``` 98 | NOTE: 99 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 100 | - UUID: **Please fill with your UUID** 101 | - YOURDOMAINSERVER: **Fill with domain of your server** 102 | - path: **Fill with path of your websocket server** 103 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 104 | 105 | ## Trojan Websocket NON TLS 106 | ```json 107 | { 108 | "tag": "proxy A", 109 | "type": "trojan", 110 | "server": "IP/YOURDOMAINSERVER", 111 | "server_port": 443, 112 | "password": "PASSWORD", 113 | "transport": { 114 | "type": "ws", 115 | "path": "/buy-trojan-ws-pm-telegram-at-synricha", 116 | "headers": { 117 | "Host": "TARGETDOMAIN" 118 | } 119 | }, 120 | "multiplex": { 121 | "enabled": false, 122 | "protocol": "smux", 123 | "max_streams": 32 124 | } 125 | } 126 | ``` 127 | NOTE: 128 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 129 | - UUID: **Please fill with your UUID** 130 | - TARGETDOMAIN: **Fill with domain target** 131 | - path: **Fill with path of your websocket server** 132 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` -------------------------------------------------------------------------------- /Trojan gRPC/README.md: -------------------------------------------------------------------------------- 1 | # Trojan gRPC 2 | ## Trojan gRPC over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "trojan", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "password": "PASSWORD", 10 | "tls": { 11 | "enabled": true, 12 | "server_name": "YOURDOMAINSERVER", 13 | "insecure": true, 14 | "utls": { 15 | "enabled": true, 16 | "fingerprint": "chrome" 17 | } 18 | }, 19 | "transport": { 20 | "type": "grpc", 21 | "service_name": "buy-trojan-grpc-pm-telegram-at-synricha", 22 | "idle_timeout": "15s", 23 | "ping_timeout": "15s", 24 | "permit_without_stream": false 25 | }, 26 | "multiplex": { 27 | "enabled": false, 28 | "protocol": "smux", 29 | "max_streams": 32 30 | } 31 | } 32 | ``` 33 | NOTE: 34 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 35 | - YOURDOMAINSERVER: **Fill with domain of your server** 36 | - service_name: **fill with grpc servicename** 37 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 38 | 39 | ## Trojan gRPC SNI 40 | ```json 41 | { 42 | "tag": "proxy A", 43 | "type": "trojan", 44 | "server": "IP/YOURDOMAINSERVER", 45 | "server_port": 443, 46 | "password": "PASSWORD", 47 | "tls": { 48 | "enabled": true, 49 | "server_name": "TARGETDOMAIN", 50 | "insecure": true, 51 | "utls": { 52 | "enabled": true, 53 | "fingerprint": "chrome" 54 | } 55 | }, 56 | "transport": { 57 | "type": "grpc", 58 | "service_name": "buy-trojan-grpc-pm-telegram-at-synricha", 59 | "idle_timeout": "15s", 60 | "ping_timeout": "15s", 61 | "permit_without_stream": false 62 | }, 63 | "multiplex": { 64 | "enabled": false, 65 | "protocol": "smux", 66 | "max_streams": 32 67 | } 68 | } 69 | ``` 70 | NOTE: 71 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 72 | - TARGETDOMAIN: **Fill with domain target SNI** 73 | - service_name: **fill with grpc servicename** 74 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` -------------------------------------------------------------------------------- /VMess Websocket/README.md: -------------------------------------------------------------------------------- 1 | # Vmess Websocket 2 | ## Vmess Websocket TLS over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "vmess", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "uuid": "UUID", 10 | "security": "auto", 11 | "alter_id": 0, 12 | "global_padding": false, 13 | "authenticated_length": true, 14 | "tls": { 15 | "enabled": true, 16 | "server_name": "YOURDOMAINSERVER", 17 | "insecure": true, 18 | "utls": { 19 | "enabled": true, 20 | "fingerprint": "chrome" 21 | } 22 | }, 23 | "packet_encoding": "", 24 | "transport": { 25 | "type": "ws", 26 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 27 | "headers": { 28 | "Host": "YOURDOMAINSERVER" 29 | } 30 | }, 31 | "multiplex": { 32 | "enabled": false, 33 | "protocol": "smux", 34 | "max_streams": 32 35 | } 36 | } 37 | ``` 38 | NOTE: 39 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 40 | - UUID: **Please fill with your UUID** 41 | - YOURDOMAINSERVER: **Fill with domain of your server** 42 | - path: **Fill with path of your websocket server** 43 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 44 | 45 | ## Vmess Websocket TLS SNI 46 | ```json 47 | { 48 | "tag": "proxy A", 49 | "type": "vmess", 50 | "server": "IP/YOURDOMAINSERVER", 51 | "server_port": 443, 52 | "uuid": "UUID", 53 | "security": "auto", 54 | "alter_id": 0, 55 | "global_padding": false, 56 | "authenticated_length": true, 57 | "tls": { 58 | "enabled": true, 59 | "server_name": "TARGETDOMAIN", 60 | "insecure": true, 61 | "utls": { 62 | "enabled": true, 63 | "fingerprint": "chrome" 64 | } 65 | }, 66 | "packet_encoding": "", 67 | "transport": { 68 | "type": "ws", 69 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 70 | "headers": { 71 | "Host": "YOURDOMAINSERVER" 72 | } 73 | }, 74 | "multiplex": { 75 | "enabled": false, 76 | "protocol": "smux", 77 | "max_streams": 32 78 | } 79 | } 80 | ``` 81 | NOTE: 82 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 83 | - UUID: **Please fill with your UUID** 84 | - TARGETDOMAIN: **Fill with domain target SNI** 85 | - path: **Fill with path of your websocket server** 86 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 87 | 88 | ## Vmess Websocket NON TLS over CDN Cloudlfare 89 | ```json 90 | { 91 | "tag": "proxy A", 92 | "type": "vmess", 93 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 94 | "server_port": 80, 95 | "uuid": "UUID", 96 | "security": "auto", 97 | "alter_id": 0, 98 | "global_padding": false, 99 | "authenticated_length": true, 100 | "packet_encoding": "", 101 | "transport": { 102 | "type": "ws", 103 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 104 | "headers": { 105 | "Host": "YOURDOMAINSERVER" 106 | } 107 | }, 108 | "multiplex": { 109 | "enabled": false, 110 | "protocol": "smux", 111 | "max_streams": 32 112 | } 113 | } 114 | ``` 115 | NOTE: 116 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 117 | - UUID: **Please fill with your UUID** 118 | - YOURDOMAINSERVER: **Fill with domain of your server** 119 | - path: **Fill with path of your websocket server** 120 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 121 | 122 | ## Vmess Websocket NON TLS 123 | ```json 124 | { 125 | "tag": "proxy A", 126 | "type": "vmess", 127 | "server": "IP/YOURDOMAINSERVER", 128 | "server_port": 80, 129 | "uuid": "UUID", 130 | "security": "auto", 131 | "alter_id": 0, 132 | "global_padding": false, 133 | "authenticated_length": true, 134 | "packet_encoding": "", 135 | "transport": { 136 | "type": "ws", 137 | "path": "/buy-vmess-ws-pm-telegram-at-synricha", 138 | "headers": { 139 | "Host": "YOURDOMAINSERVER" 140 | } 141 | }, 142 | "multiplex": { 143 | "enabled": false, 144 | "protocol": "smux", 145 | "max_streams": 32 146 | } 147 | } 148 | ``` 149 | NOTE: 150 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 151 | - UUID: **Please fill with your UUID** 152 | - TARGETDOMAIN: **Fill with domain target** 153 | - path: **Fill with path of your websocket server** 154 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` -------------------------------------------------------------------------------- /VMess gRPC/README.md: -------------------------------------------------------------------------------- 1 | # Vmess gRPC 2 | ## Vmess gRPC over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "vmess", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "uuid": "UUID", 10 | "security": "auto", 11 | "alter_id": 0, 12 | "global_padding": false, 13 | "authenticated_length": true, 14 | "tls": { 15 | "enabled": true, 16 | "server_name": "YOURDOMAINSERVER", 17 | "insecure": true, 18 | "utls": { 19 | "enabled": true, 20 | "fingerprint": "chrome" 21 | } 22 | }, 23 | "packet_encoding": "", 24 | "transport": { 25 | "type": "grpc", 26 | "service_name": "buy-vmess-grpc-pm-telegram-at-synricha", 27 | "idle_timeout": "15s", 28 | "ping_timeout": "15s", 29 | "permit_without_stream": false 30 | }, 31 | "multiplex": { 32 | "enabled": false, 33 | "protocol": "smux", 34 | "max_streams": 32 35 | } 36 | } 37 | ``` 38 | NOTE: 39 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 40 | - UUID: **Please fill with your UUID** 41 | - YOURDOMAINSERVER: **Fill with domain of your server** 42 | - service_name: **fill with grpc servicename** 43 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` 44 | 45 | ## Vmess gRPC SNI 46 | ```json 47 | { 48 | "tag": "proxy A", 49 | "type": "vmess", 50 | "server": "IP/YOURDOMAINSERVER", 51 | "server_port": 443, 52 | "uuid": "UUID", 53 | "security": "auto", 54 | "alter_id": 0, 55 | "global_padding": false, 56 | "authenticated_length": true, 57 | "tls": { 58 | "enabled": true, 59 | "server_name": "TARGETDOMAIN", 60 | "insecure": true, 61 | "utls": { 62 | "enabled": true, 63 | "fingerprint": "chrome" 64 | } 65 | }, 66 | "packet_encoding": "", 67 | "transport": { 68 | "type": "grpc", 69 | "service_name": "buy-vmess-grpc-pm-telegram-at-synricha", 70 | "idle_timeout": "15s", 71 | "ping_timeout": "15s", 72 | "permit_without_stream": false 73 | }, 74 | "multiplex": { 75 | "enabled": false, 76 | "protocol": "smux", 77 | "max_streams": 32 78 | } 79 | } 80 | ``` 81 | NOTE: 82 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 83 | - UUID: **Please fill with your UUID** 84 | - TARGETDOMAIN: **Fill with domain target SNI** 85 | - service_name: **fill with grpc servicename** 86 | - server sing-box supports multiplex, if your server is not sing-box set multiplex to `false` -------------------------------------------------------------------------------- /Vless Websocket/README.md: -------------------------------------------------------------------------------- 1 | # Vless Websocket 2 | ## Vless Websocket TLS over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "vless", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "uuid": "UUID", 10 | "flow": "", 11 | "tls": { 12 | "enabled": true, 13 | "server_name": "YOURDOMAINSERVER", 14 | "insecure": true, 15 | "utls": { 16 | "enabled": true, 17 | "fingerprint": "chrome" 18 | } 19 | }, 20 | "multiplex": { 21 | "enabled": false, 22 | "protocol": "smux", 23 | "max_streams": 32 24 | }, 25 | "packet_encoding": "xudp", 26 | "transport": { 27 | "type": "ws", 28 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 29 | "headers": { 30 | "Host": "YOURDOMAINSERVER" 31 | } 32 | } 33 | } 34 | ``` 35 | NOTE: 36 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 37 | - UUID: **Please fill with your UUID** 38 | - YOURDOMAINSERVER: **Fill with domain of your server** 39 | - path: **Fill with path of your websocket server** 40 | 41 | ## Vless Websocket TLS SNI 42 | ```json 43 | { 44 | "tag": "proxy A", 45 | "type": "vless", 46 | "server": "IP/YOURDOMAINSERVER", 47 | "server_port": 443, 48 | "uuid": "UUID", 49 | "flow": "", 50 | "tls": { 51 | "enabled": true, 52 | "server_name": "TARGETDOMAIN", 53 | "insecure": true, 54 | "utls": { 55 | "enabled": true, 56 | "fingerprint": "chrome" 57 | } 58 | }, 59 | "multiplex": { 60 | "enabled": false, 61 | "protocol": "smux", 62 | "max_streams": 32 63 | }, 64 | "packet_encoding": "xudp", 65 | "transport": { 66 | "type": "ws", 67 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 68 | "headers": { 69 | "Host": "YOURDOMAINSERVER" 70 | } 71 | } 72 | } 73 | ``` 74 | NOTE: 75 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 76 | - UUID: **Please fill with your UUID** 77 | - TARGETDOMAIN: **Fill with domain target SNI** 78 | - path: **Fill with path of your websocket server** 79 | 80 | ## Vless Websocket NON TLS over CDN Cloudlfare 81 | ```json 82 | { 83 | "tag": "proxy A", 84 | "type": "vless", 85 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 86 | "server_port": 80, 87 | "uuid": "UUID", 88 | "flow": "", 89 | "multiplex": { 90 | "enabled": false, 91 | "protocol": "smux", 92 | "max_streams": 32 93 | }, 94 | "packet_encoding": "xudp", 95 | "transport": { 96 | "type": "ws", 97 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 98 | "headers": { 99 | "Host": "YOURDOMAINSERVER" 100 | } 101 | } 102 | } 103 | ``` 104 | NOTE: 105 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 106 | - UUID: **Please fill with your UUID** 107 | - YOURDOMAINSERVER: **Fill with domain of your server** 108 | - path: **Fill with path of your websocket server** 109 | 110 | ## Vless Websocket NON TLS 111 | ```json 112 | { 113 | "tag": "proxy A", 114 | "type": "vless", 115 | "server": "IP/YOURDOMAINSERVER", 116 | "server_port": 80, 117 | "uuid": "UUID", 118 | "flow": "", 119 | "multiplex": { 120 | "enabled": false, 121 | "protocol": "smux", 122 | "max_streams": 32 123 | }, 124 | "packet_encoding": "xudp", 125 | "transport": { 126 | "type": "ws", 127 | "path": "/buy-vless-ws-pm-telegram-at-synricha", 128 | "headers": { 129 | "Host": "YOURDOMAINSERVER" 130 | } 131 | } 132 | } 133 | ``` 134 | NOTE: 135 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 136 | - UUID: **Please fill with your UUID** 137 | - TARGETDOMAIN: **Fill with domain target** 138 | - path: **Fill with path of your websocket server** -------------------------------------------------------------------------------- /Vless gRPC/README.md: -------------------------------------------------------------------------------- 1 | # Vless gRPC 2 | ## Vless gRPC over CDN Cloudlfare 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "vless", 7 | "server": "IP/HOSTED CDN FROM CLOUDFLARE", 8 | "server_port": 443, 9 | "uuid": "UUID", 10 | "flow": "", 11 | "tls": { 12 | "enabled": true, 13 | "server_name": "YOURDOMAINSERVER", 14 | "insecure": true, 15 | "utls": { 16 | "enabled": true, 17 | "fingerprint": "chrome" 18 | } 19 | }, 20 | "multiplex": { 21 | "enabled": false, 22 | "protocol": "smux", 23 | "max_streams": 32 24 | }, 25 | "packet_encoding": "xudp", 26 | "transport": { 27 | "type": "grpc", 28 | "service_name": "buy-vless-grpc-pm-telegram-at-synricha", 29 | "idle_timeout": "15s", 30 | "ping_timeout": "15s", 31 | "permit_without_stream": false 32 | } 33 | } 34 | ``` 35 | NOTE: 36 | - IP/HOSTED CDN FROM CLOUDFLARE: **Please select IP/Host from a domain that uses Cloudflare CDN** 37 | - UUID: **Please fill with your UUID** 38 | - YOURDOMAINSERVER: **Fill with domain of your server** 39 | - service_name: **fill with grpc servicename** 40 | 41 | ## Vless gRPC SNI 42 | ```json 43 | { 44 | "tag": "proxy A", 45 | "type": "vless", 46 | "server": "IP/YOURDOMAINSERVER", 47 | "server_port": 443, 48 | "uuid": "UUID", 49 | "flow": "", 50 | "tls": { 51 | "enabled": true, 52 | "server_name": "TARGETDOMAIN", 53 | "insecure": true, 54 | "utls": { 55 | "enabled": true, 56 | "fingerprint": "chrome" 57 | } 58 | }, 59 | "multiplex": { 60 | "enabled": false, 61 | "protocol": "smux", 62 | "max_streams": 32 63 | }, 64 | "packet_encoding": "xudp", 65 | "transport": { 66 | "type": "grpc", 67 | "service_name": "buy-vless-grpc-pm-telegram-at-synricha", 68 | "idle_timeout": "15s", 69 | "ping_timeout": "15s", 70 | "permit_without_stream": false 71 | } 72 | } 73 | ``` 74 | NOTE: 75 | - IP/YOURDOMAINSERVER: **Please select IP/Domain of your server** 76 | - UUID: **Please fill with your UUID** 77 | - TARGETDOMAIN: **Fill with domain target SNI** 78 | - service_name: **fill with grpc servicename** -------------------------------------------------------------------------------- /Vless uTLS Reality/README.md: -------------------------------------------------------------------------------- 1 | # Vless Reality 2 | ## Vless uTLS Reality 3 | ```json 4 | { 5 | "tag": "proxy A", 6 | "type": "vless", 7 | "server": "IP", 8 | "server_port": 30000, //change to your server port 9 | "uuid": "UUID", 10 | "flow": "xtls-rprx-vision", 11 | "tls": { 12 | "enabled": true, 13 | "server_name": "TARGETDOMAIN", // target domain client must match with server setting 14 | "utls": { 15 | "enabled": true, 16 | "fingerprint": "chrome" 17 | }, 18 | "reality": { 19 | "enabled": true, 20 | "public_key": "PUBLIC_KEY", // change to public key of your account 21 | "short_id": "SHORT_ID" // change to short id of your account 22 | } 23 | }, 24 | "multiplex": { 25 | "enabled": false, 26 | "protocol": "h2mux", 27 | "max_streams": 32 28 | }, 29 | "packet_encoding": "xudp" 30 | } 31 | ``` 32 | NOTE: 33 | - IP/YOURDOMAINSERVER: **Please select IP your server** 34 | - UUID: **Please fill with your UUID** 35 | - TARGETDOMAIN: **Fill with domain target matched with server setting** 36 | - public_key: **Fill with public key of your account** 37 | - short_id: **Fill with short id of your account** 38 | 39 | --------------------------------------------------------------------------------