config_client.jsonc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // 直接从其他示例里 copy 过来的,客户端不需要任何特殊修改,要填的东西也一致
  2. {
  3. "log": {
  4. "loglevel": "debug"
  5. },
  6. "inbounds": [
  7. {
  8. "listen": "127.0.0.1",
  9. "port": 10808,
  10. "protocol": "socks",
  11. "settings": {
  12. "udp": true
  13. },
  14. "sniffing": {
  15. "enabled": true,
  16. "destOverride": [
  17. "http",
  18. "tls",
  19. "quic"
  20. ],
  21. "routeOnly": true
  22. }
  23. }
  24. ],
  25. "outbounds": [
  26. {
  27. "protocol": "vless",
  28. "settings": {
  29. "vnext": [
  30. {
  31. "address": "127.0.0.1",
  32. "port": 443,
  33. "users": [
  34. {
  35. "id": "", // Needs to match server side
  36. "encryption": "none"
  37. }
  38. ]
  39. }
  40. ]
  41. },
  42. "streamSettings": {
  43. "network": "tcp",
  44. "security": "reality",
  45. "realitySettings": {
  46. "fingerprint": "chrome",
  47. "serverName": "speed.cloudflare.com",
  48. "publicKey": "",
  49. "spiderX": "",
  50. "shortId": ""
  51. }
  52. },
  53. "tag": "proxy"
  54. }
  55. ]
  56. }