- downland the prebuilt executable
chmod a+x tcp_proxy
./tcp_proxy
configuration is provided via environmental variables
HOST
the host you wish to serve on (exp127.0.0.1
/0.0.0.0
)PORT
the port you wish to serve onTARGET_HOST
the host you wish to proxy your requests toTARGET_PORT
the port you wish to proxy your requests to