---
name: "tcp_relay"
section: "1"
platform: "linux"
package: "knews"
version: "1.0b.1-39"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tcp_relay"
---

# tcp\_relay(1)

a tcp relay

## NAME

tcp\_relay - a tcp relay

## SYNOPSIS

**tcp\_relay** -p port \[-s\] -h host ... remotehost\[:port\]

## DESCRIPTION

For more details, read the source.

## OPTIONS

- **-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 incoming connection and go on to accept new connections.

- **-h host**

  Connections from this host will be allowed.  Several of these may be supplied.

## AUTHOR

This software is Copyright 1996 by Karl-Johan Johnsson.
