mekya_server.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "log": {
  3. "error": {
  4. "level": "Debug",
  5. "type": "Console"
  6. },
  7. "access": {
  8. "type": "None"
  9. }
  10. },
  11. "outbounds": [
  12. {
  13. "protocol": "freedom"
  14. }
  15. ],
  16. "inbounds": [
  17. {
  18. "listen": "127.0.0.1",
  19. "port": 17773,
  20. "protocol": "vmess",
  21. "settings": {
  22. "users": [
  23. "bcc71618-e552-42c2-a2a3-d4c17a9df764"
  24. ]
  25. },
  26. "streamSettings": {
  27. "transport": "mekya",
  28. "transportSettings": {
  29. "url": "http://127.0.0.1:12777",
  30. "maxWriteSize": 10485760,
  31. "maxWriteDurationMs": 5000,
  32. "maxSimultaneousWriteConnection": 128,
  33. "packetWritingBuffer": 65536,
  34. "kcp": {
  35. "mtu": {
  36. "value": 1450
  37. },
  38. "tti": {
  39. "value": 15
  40. },
  41. "uplink_capacity": {
  42. "value": 40
  43. },
  44. "downlink_capacity": {
  45. "value": 2000
  46. },
  47. "congestion": false,
  48. "write_buffer": {
  49. "size": 671088640
  50. },
  51. "read_buffer": {
  52. "size": 671088640
  53. }
  54. }
  55. },
  56. "security": "tls",
  57. "securitySettings": {
  58. "certificate": [
  59. {
  60. "usage": "ENCIPHERMENT",
  61. "certificateFile": "cert/self-signed_cert.pem",
  62. "keyFile": "cert/self-signed_key.pem"
  63. }
  64. ]
  65. }
  66. }
  67. }
  68. ]
  69. }