DOKK / manpages / debian 11 / knews / tcp_relay.1.en
KNEWS(1) General Commands Manual KNEWS(1)

tcp_relay - a tcp relay

tcp_relay -p port [-s] -h host ... remotehost[:port]

For more details, read the source.

-p port

The port tcp_relay will listen for connections on.
-s
If this option is given, only a single connection at a time will be handled. Otherwise tcp_relay will fork a new copy of itself for each incomming connection and go on to accept new connections.
-h host
Connections from this host will be allowed. Several of these may be supplied.

This software is Copyright 1996 by Karl-Johan Johnsson.

1996