test_3_client.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "port": 50020,
  3. "log": {
  4. "loglevel": "none"
  5. },
  6. "inbound": {
  7. "listen": "127.0.0.1",
  8. "protocol": "dokodemo-door",
  9. "settings": {
  10. "address": "127.0.0.1",
  11. "port": 50024,
  12. "network": "tcp",
  13. "timeout": 0
  14. }
  15. },
  16. "outbound": {
  17. "protocol": "vmess",
  18. "settings": {
  19. "vnext": [
  20. {
  21. "address": "127.0.0.1",
  22. "port": 50021,
  23. "users": [
  24. {"id": "d17a1af7-efa5-42ca-b7e9-6a35282d737f"}
  25. ]
  26. }
  27. ]
  28. }
  29. },
  30. "inboundDetour": [
  31. {
  32. "protocol": "dokodemo-door",
  33. "port": 50022,
  34. "listen": "127.0.0.1",
  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. }