test_3_client.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "port": 50020,
  3. "log": {
  4. "access": "/tmp/v2ray_access_1.log",
  5. "error": "/tmp/v2ray_error_1.log",
  6. "loglevel": "error"
  7. },
  8. "inbound": {
  9. "protocol": "dokodemo-door",
  10. "settings": {
  11. "address": "127.0.0.1",
  12. "port": 50024,
  13. "network": "tcp",
  14. "timeout": 0
  15. }
  16. },
  17. "outbound": {
  18. "protocol": "vmess",
  19. "settings": {
  20. "vnext": [
  21. {
  22. "address": "127.0.0.1",
  23. "port": 50021,
  24. "users": [
  25. {"id": "d17a1af7-efa5-42ca-b7e9-6a35282d737f"}
  26. ]
  27. }
  28. ]
  29. }
  30. },
  31. "inboundDetour": [
  32. {
  33. "protocol": "dokodemo-door",
  34. "port": 50022,
  35. "settings": {
  36. "address": "127.0.0.1",
  37. "port": 50025,
  38. "network": "tcp",
  39. "timeout": 0
  40. }
  41. }
  42. ],
  43. "outboundDetour": [
  44. {
  45. "protocol": "blackhole",
  46. "tag": "blocked",
  47. "settings": {}
  48. }
  49. ],
  50. "routing": {
  51. "strategy": "rules",
  52. "settings": {
  53. "rules": [
  54. {
  55. "type": "field",
  56. "port": "50025-50029",
  57. "outboundTag": "blocked"
  58. }
  59. ]
  60. }
  61. }
  62. }