config_client.jsonc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "routing": {
  6. "domainStrategy": "AsIs",
  7. "rules": [
  8. {
  9. "type": "field",
  10. "ip": [
  11. "geoip:private"
  12. ],
  13. "outboundTag": "direct"
  14. }
  15. ]
  16. },
  17. "inbounds": [
  18. {
  19. "listen": "127.0.0.1",
  20. "port": "1080",
  21. "protocol": "socks",
  22. "settings": {
  23. "auth": "noauth",
  24. "udp": true,
  25. "ip": "127.0.0.1"
  26. }
  27. },
  28. {
  29. "listen": "127.0.0.1",
  30. "port": "1081",
  31. "protocol": "http"
  32. }
  33. ],
  34. "outbounds": [
  35. {
  36. "protocol": "vmess",
  37. "settings": {
  38. "vnext": [
  39. {
  40. "address": "",
  41. "port": 1234,
  42. "users": [
  43. {
  44. "id": ""
  45. }
  46. ]
  47. }
  48. ]
  49. },
  50. "streamSettings": {
  51. "network": "ws"
  52. },
  53. "tag": "proxy"
  54. },
  55. {
  56. "protocol": "freedom",
  57. "tag": "direct"
  58. }
  59. ]
  60. }