vmess-grpc-client.json 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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": "gun",
  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. "grpcSettings": {
  46. "serviceName": "TunService"
  47. }
  48. }
  49. }
  50. ]
  51. }