vpoint_socks_vmess.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. "serverName": "v2ray.cool",
  40. "allowInsecure": true
  41. },
  42. "wsSettings": {
  43. "path": "/v2ray.cool/"
  44. }
  45. }
  46. },
  47. "outboundDetour": [
  48. {
  49. "protocol": "freedom",
  50. "settings": {},
  51. "tag": "direct"
  52. }
  53. ],
  54. "dns": {
  55. "servers": [
  56. "8.8.8.8",
  57. "8.8.4.4",
  58. "localhost"
  59. ]
  60. },
  61. "routing": {
  62. "strategy": "rules",
  63. "settings": {
  64. "domainStrategy": "IPIfNonMatch",
  65. "rules": [
  66. {
  67. "type": "field",
  68. "port": "1-52",
  69. "outboundTag": "direct"
  70. },
  71. {
  72. "type": "field",
  73. "port": "54-79",
  74. "outboundTag": "direct"
  75. },
  76. {
  77. "type": "field",
  78. "port": "81-442",
  79. "outboundTag": "direct"
  80. },
  81. {
  82. "type": "field",
  83. "port": "444-65535",
  84. "outboundTag": "direct"
  85. },
  86. {
  87. "type": "field",
  88. "domain": ["geosite:cn"],
  89. "outboundTag": "direct"
  90. },
  91. {
  92. "type": "field",
  93. "ip": [
  94. "0.0.0.0/8",
  95. "10.0.0.0/8",
  96. "100.64.0.0/10",
  97. "127.0.0.0/8",
  98. "169.254.0.0/16",
  99. "172.16.0.0/12",
  100. "192.0.0.0/24",
  101. "192.0.2.0/24",
  102. "192.168.0.0/16",
  103. "198.18.0.0/15",
  104. "198.51.100.0/24",
  105. "203.0.113.0/24",
  106. "::1/128",
  107. "fc00::/7",
  108. "fe80::/10",
  109. "geoip:cn"
  110. ],
  111. "outboundTag": "direct"
  112. }
  113. ]
  114. }
  115. }
  116. }