sing-box.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "dns": {
  3. "servers": [
  4. {
  5. "tag":"google",
  6. "address":"tls://1.1.1.1",
  7. "detour":"wireguard-out"
  8. },
  9. {
  10. "tag":"local",
  11. "address":"114.114.114.114",
  12. "detour":"direct"
  13. }
  14. ]
  15. },
  16. "inbounds":[
  17. {
  18. "type": "mixed",
  19. "listen":"::",
  20. "listen_port":1080
  21. },
  22. {
  23. "type": "vmess",
  24. "tag": "vmess-in",
  25. "listen": "::",
  26. "listen_port": 2001,
  27. "users": [
  28. {
  29. "name": "sekai",
  30. "uuid": "11112222-3333-4444-aaaa-bbbbccccdddd",
  31. "alterId": 0
  32. }
  33. ],
  34. "tls": {},
  35. "transport": {
  36. "type": "ws",
  37. "path": "/vm",
  38. "headers": {},
  39. "max_early_data": 0,
  40. "early_data_header_name": "Sec-WebSocket-Protocol"
  41. }
  42. },
  43. {
  44. "type": "vless",
  45. "tag": "vless-in",
  46. "listen": "::",
  47. "listen_port": 2002,
  48. "users": [
  49. {
  50. "name": "sek",
  51. "uuid": "11112222-3333-4444-aaaa-bbbbccccdddd"
  52. }
  53. ],
  54. "tls": {},
  55. "transport": {
  56. "type": "ws",
  57. "path": "/vm",
  58. "headers": {},
  59. "max_early_data": 0,
  60. "early_data_header_name": "Sec-WebSocket-Protocol"
  61. }
  62. },
  63. {
  64. "listen":"::",
  65. "listen_port":2000,
  66. "type":"socks"
  67. }
  68. ],
  69. "outbounds":[
  70. {
  71. "type":"wireguard",
  72. "tag":"wireguard-out",
  73. "server":"162.159.192.100",
  74. "server_port":4198,
  75. "local_address":[
  76. "172.16.0.2/32",
  77. "2606:4700:110:8d96:10c5:f63:c86a:d18/128"
  78. ],
  79. "private_key":"YNddtyMhBktWpMua1NCCMYL2vyMzL1+7D2J5PRCtnnQ=",
  80. "peer_public_key":"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  81. "reserved":[
  82. 64,
  83. 150,
  84. 182
  85. ],
  86. "mtu":1280
  87. },
  88. {
  89. "type":"direct",
  90. "tag":"direct",
  91. "domain_strategy":"prefer_ipv4"
  92. },
  93. {
  94. "type":"direct",
  95. "tag":"warp-IPv4-out",
  96. "detour":"wireguard-out",
  97. "domain_strategy":"ipv4_only"
  98. },
  99. {
  100. "type":"direct",
  101. "tag":"warp-IPv6-out",
  102. "detour":"wireguard-out",
  103. "domain_strategy":"ipv6_only"
  104. }
  105. ]
  106. }