config_server.jsonc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "inbounds": [
  6. {
  7. "port": 443,
  8. "protocol": "vless",
  9. "settings": {
  10. "clients": [
  11. {
  12. "id": "", // 填写你的 UUID
  13. "level": 0,
  14. "email": "[email protected]"
  15. }
  16. ],
  17. "decryption": "none",
  18. "fallbacks": [
  19. {
  20. "dest": 80
  21. }
  22. ]
  23. },
  24. "streamSettings": {
  25. "network": "tcp",
  26. "security": "tls",
  27. "tlsSettings": {
  28. "alpn": [
  29. "http/1.1"
  30. ],
  31. "certificates": [
  32. {
  33. "certificateFile": "/path/to/fullchain.crt", // 换成你的证书,绝对路径
  34. "keyFile": "/path/to/private.key" // 换成你的私钥,绝对路径
  35. }
  36. ]
  37. }
  38. }
  39. }
  40. ],
  41. "outbounds": [
  42. {
  43. "protocol": "freedom"
  44. }
  45. ]
  46. }