test_3_client.json 1005 B

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