I need to send (duplicate) traffic from one machine (port) and to two different machines (ports). I need to take care of TCP session as well.
In the beginnig I used
Try https://github.com/agnoster/duplicator.
I tried teeproxy but got strange results with some requests other than GET's.