trojan.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "run_type": "server",
  3. "local_addr": "0.0.0.0",
  4. "local_port": 10002,
  5. "password": [
  6. "password"
  7. ],
  8. "log_level": 1,
  9. "ssl": {
  10. "cert": "/path/to/certificate.crt",
  11. "key": "/path/to/private.key",
  12. "key_password": "",
  13. "cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384",
  14. "cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
  15. "prefer_server_cipher": true,
  16. "alpn": [
  17. "http/1.1"
  18. ],
  19. "alpn_port_override": {
  20. "h2": 81
  21. },
  22. "reuse_session": true,
  23. "session_ticket": false,
  24. "session_timeout": 600,
  25. "plain_http_response": "",
  26. "curves": "",
  27. "dhparam": ""
  28. },
  29. "tcp": {
  30. "prefer_ipv4": false,
  31. "no_delay": true,
  32. "keep_alive": true,
  33. "reuse_port": false,
  34. "fast_open": false,
  35. "fast_open_qlen": 20
  36. },
  37. "mysql": {
  38. "enabled": false
  39. }
  40. }