trojan-xtls.json 1015 B

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