---
title: "ezgh compute network-gateways create"
description: "Create a network gateway."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute network-gateways create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute network-gateways create <name> [--description d] [--tag k=v…] [flags]
```

Create a network gateway, detached. Attach it to a VPC to give that VPC's network interfaces public addresses: public IPv4 addresses mapped onto their private ones, and public IPv6 /64s.

Part of [`ezgh compute network-gateways`](/cli/reference/compute-network-gateways).

## Examples

```sh
ezgh compute network-gateways create edge
ezgh compute network-gateways attach edge --vpc main
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | what it's for |
| `--tag` | string, repeatable |  | a tag, key=value (repeat) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-network-gateways-create/index.mdx
