config_client.jsonc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. "security": "none"
  46. }
  47. ]
  48. }
  49. ]
  50. },
  51. "streamSettings": {
  52. "network": "tcp",
  53. "security": "tls"
  54. },
  55. "tag": "proxy"
  56. },
  57. {
  58. "protocol": "freedom",
  59. "tag": "direct"
  60. }
  61. ]
  62. }