In first I will try to describe the problem. We use following network configuration:
- machine1 with installed haproxy
- machine2 with application(in this case we can assume that is only RabbitMq service)
- machine3 as test server(copy of machine2)
All traffic goes to port(777 for example) of machine1. Haproxy redirect traffic to port(888 for example) of machine2. Application on machine2 listen port 888 and process requests. Also we have machine3 as test server and when we prepare next release we want to test it with real load.
So question now: is posible to duplicate incoming network traffic from port 777 of machine1 to port 888 of machine2 and(somitemes, when we need that) to port 888 of machine3?
PS Sorry for my bad English