vpoint_socks_vmess.json 2.1 KB

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