# openrail tcp-proxy

> Expose a TCP port of the linked service on a public port.

Expose a TCP port of the linked service on a public port.

## Usage

```sh
openrail tcp-proxy list
openrail tcp-proxy add --port PORT
openrail tcp-proxy delete ID
```

## Flags

| Flag | Meaning |
|---|---|
| `--port PORT` | Container port to expose |

## Details

- The public port is picked from 20000 to 29999 on every ingress host.

## Railway equivalent

`railway tcp-proxy` works the same way through the [railway alias](https://openrail.app/docs/cli/railway-alias).

Every command also accepts the [global options](https://openrail.app/docs/cli/global-options).
