vless-xtls.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "inbounds": [
  3. {
  4. "port": 10002,
  5. "listen": "0.0.0.0",
  6. "protocol": "vless",
  7. "settings": {
  8. "clients": [
  9. {
  10. "id": "b831381d-6324-4d53-ad4f-8cda48b30811",
  11. "email": "xtls@example.com",
  12. "flow": "xtls-rprx-direct",
  13. "level": 0
  14. }
  15. ],
  16. "decryption": "none"
  17. },
  18. "streamSettings": {
  19. "network": "tcp",
  20. "security": "xtls",
  21. "xtlsSettings": {
  22. "certificates": [
  23. {
  24. "certificateFile": "/etc/ssl/v2ray/fullchain.pem",
  25. "keyFile": "/etc/ssl/v2ray/privkey.pem"
  26. }
  27. ]
  28. }
  29. }
  30. }
  31. ],
  32. "outbounds": [
  33. {
  34. "protocol": "freedom"
  35. }
  36. ],
  37. "log": {
  38. "loglevel": "debug"
  39. }
  40. }