config_client.jsonc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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": "socks",
  37. "settings": {
  38. "servers": [
  39. {
  40. "address": "",
  41. "port": 1234,
  42. "users": [
  43. {
  44. "user": "",
  45. "pass": ""
  46. }
  47. ]
  48. }
  49. ]
  50. },
  51. "streamSettings": {
  52. "network": "tcp",
  53. "security": "tls",
  54. "tlsSettings": {
  55. "serverName": "example.domain",
  56. "allowInsecure": false
  57. }
  58. },
  59. "tag": "proxy"
  60. },
  61. {
  62. "protocol": "freedom",
  63. "tag": "direct"
  64. }
  65. ]
  66. }