vpoint_socks_vmess.json 2.1 KB

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