[egulu CLI reference](../index.md) / [egulu port-forwards](index.md)

# egulu port-forwards create

POST /v1/projects/{project}/locations/{location}/portForwards

```sh
egulu port-forwards create <NAME> [options]
```

## API operation

[PortForwards_create](../../api/network/PortForwards_create.md): `POST /v1/projects/{project}/locations/{location}/portForwards` (network module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the portForwardId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--location` | value | yes | location |
| `--network` | value | no | network |
| `--project` | value | yes | project |
| `--target-instance` | value | no | targetInstance |
| `--target-port` | value | no | targetPort |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
