config_client.jsonc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "inbounds": [
  6. {
  7. "port": 10800,
  8. "listen": "127.0.0.1",
  9. "protocol": "socks",
  10. "settings": {
  11. "udp": true
  12. }
  13. }
  14. ],
  15. "outbounds": [
  16. {
  17. "protocol": "vless",
  18. "settings": {
  19. "vnext": [
  20. {
  21. "address": "example.com", // 换成你的域名或服务器 IP(发起请求时无需解析域名了)
  22. "port": 443,
  23. "users": [
  24. {
  25. "id": "", // 填写你的 UUID
  26. "encryption": "none",
  27. "level": 0
  28. }
  29. ]
  30. }
  31. ]
  32. },
  33. "streamSettings": {
  34. "network": "tcp",
  35. "security": "tls",
  36. "tlsSettings": {
  37. "serverName": "example.com" // 换成你的域名
  38. }
  39. }
  40. }
  41. ]
  42. }