vpoint_socks_vmess.json 2.1 KB

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