vmess-grpc-server.json 765 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "log": {
  3. "loglevel": "debug"
  4. },
  5. "inbounds": [
  6. {
  7. "listen": "0.0.0.0",
  8. "port": 1234,
  9. "protocol": "vmess",
  10. "settings": {
  11. "clients": [
  12. {
  13. "id": "b831381d-6324-4d53-ad4f-8cda48b30811"
  14. }
  15. ]
  16. },
  17. "streamSettings": {
  18. "network": "gun",
  19. "security": "tls",
  20. "tlsSettings": {
  21. "serverName": "example.org",
  22. "certificates": [
  23. {
  24. "certificateFile": "/path/to/certificate.crt",
  25. "keyFile": "/path/to/private.key"
  26. }
  27. ]
  28. },
  29. "grpcSettings": {
  30. "serviceName": "TunService"
  31. }
  32. }
  33. }
  34. ],
  35. "outbounds": [
  36. {
  37. "protocol": "freedom"
  38. }
  39. ]
  40. }