vmess-ws-client.json 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "log": {
  3. "loglevel": "debug"
  4. },
  5. "inbounds": [
  6. {
  7. "listen": "127.0.0.1",
  8. "port": "1080",
  9. "protocol": "socks",
  10. "settings": {
  11. "auth": "noauth",
  12. "udp": true,
  13. "ip": "127.0.0.1"
  14. }
  15. }
  16. ],
  17. "outbounds": [
  18. {
  19. "protocol": "vmess",
  20. "settings": {
  21. "vnext": [
  22. {
  23. "address": "127.0.0.1",
  24. "port": 1234,
  25. "users": [
  26. {
  27. "id": ""
  28. }
  29. ]
  30. }
  31. ]
  32. },
  33. "streamSettings": {
  34. "network": "ws",
  35. "security": "tls",
  36. "tlsSettings": {
  37. "serverName": "example.org",
  38. "certificates": [
  39. {
  40. "certificateFile": "/path/to/certificate.crt",
  41. "keyFile": "/path/to/private.key"
  42. }
  43. ]
  44. },
  45. "wsSettings": {
  46. "maxEarlyData": 2048,
  47. "earlyDataHeaderName": ""
  48. }
  49. }
  50. }
  51. ]
  52. }