vpoint_socks_vmess.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "inbound": {
  6. "port": 1080,
  7. "listen": "127.0.0.1",
  8. "protocol": "socks",
  9. "settings": {
  10. "auth": "noauth",
  11. "udp": false,
  12. "ip": "127.0.0.1"
  13. }
  14. },
  15. "outbound": {
  16. "protocol": "vmess",
  17. "settings": {
  18. "vnext": [
  19. {
  20. "address": "v2ray.cool",
  21. "port": 443,
  22. "users": [
  23. {
  24. "id": "a3482e88-686a-4a58-8126-99c9df64b7bf",
  25. "alterId": 64,
  26. "security": "auto"
  27. }
  28. ]
  29. }
  30. ]
  31. },
  32. "mux": {
  33. "enabled": true
  34. },
  35. "streamSettings": {
  36. "network": "ws",
  37. "security": "tls",
  38. "tlsSettings": {
  39. "allowInsecure": true
  40. },
  41. "wsSettings": {
  42. "path": "/v2ray.cool/"
  43. }
  44. }
  45. },
  46. "outboundDetour": [
  47. {
  48. "protocol": "freedom",
  49. "settings": {},
  50. "tag": "direct"
  51. }
  52. ],
  53. "dns": {
  54. "servers": [
  55. "8.8.8.8",
  56. "8.8.4.4",
  57. "localhost"
  58. ]
  59. },
  60. "routing": {
  61. "strategy": "rules",
  62. "settings": {
  63. "domainStrategy": "IPIfNonMatch",
  64. "rules": [
  65. {
  66. "type": "field",
  67. "port": "1-52",
  68. "outboundTag": "direct"
  69. },
  70. {
  71. "type": "field",
  72. "port": "54-79",
  73. "outboundTag": "direct"
  74. },
  75. {
  76. "type": "field",
  77. "port": "81-442",
  78. "outboundTag": "direct"
  79. },
  80. {
  81. "type": "field",
  82. "port": "444-65535",
  83. "outboundTag": "direct"
  84. },
  85. {
  86. "type": "chinasites",
  87. "outboundTag": "direct"
  88. },
  89. {
  90. "type": "field",
  91. "ip": [
  92. "0.0.0.0/8",
  93. "10.0.0.0/8",
  94. "100.64.0.0/10",
  95. "127.0.0.0/8",
  96. "169.254.0.0/16",
  97. "172.16.0.0/12",
  98. "192.0.0.0/24",
  99. "192.0.2.0/24",
  100. "192.168.0.0/16",
  101. "198.18.0.0/15",
  102. "198.51.100.0/24",
  103. "203.0.113.0/24",
  104. "::1/128",
  105. "fc00::/7",
  106. "fe80::/10"
  107. ],
  108. "outboundTag": "direct"
  109. },
  110. {
  111. "type": "chinaip",
  112. "outboundTag": "direct"
  113. }
  114. ]
  115. }
  116. }
  117. }