TCPtee - mirrors TCP traffic received on a port to two remote destinations
usage: tcptee.py [-h] port dest1 dest2
TCPtee - a Relay/Mirror/Forwarding server
positional arguments:
port Listen on `port` for incoming traffic to be duplicated
dest1 Relay traffic to Hostname of destination 1 (IP:port)
dest2 Relay traffic to Hostname of destination 2 (IP:port)
optional arguments:
-h, --help show this help message and exit
- Run in containers.
$ git https://github.com/pvrmza/docker-tcptee.git
$ cd docker-tcptee
$ edit env file (edit port and destinaton)
$ docker-compose --env-file ./env up -d