---
title: "ezgh compute network-gateways"
description: "Private Networks: network gateways, a VPC's internet path."
---

> 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

{/* 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 <command>
```

Private Networks: a project's network gateways, given by ID (ngw\_…), UUID or name. A gateway attached to a VPC lets that VPC's network interfaces have public addresses: a public IPv4 address mapped onto an interface's private one (the instance never sees it), and a public IPv6 /64 configured on the instance. A VPC has at most one.

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

## Flags

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

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh compute network-gateways attach`](/cli/reference/compute-network-gateways-attach) | Attach a network gateway to a VPC |
| [`ezgh compute network-gateways create`](/cli/reference/compute-network-gateways-create) | Create a network gateway |
| [`ezgh compute network-gateways delete`](/cli/reference/compute-network-gateways-delete) | Delete a network gateway |
| [`ezgh compute network-gateways detach`](/cli/reference/compute-network-gateways-detach) | Detach a network gateway from its VPC |
| [`ezgh compute network-gateways get`](/cli/reference/compute-network-gateways-get) | Show a network gateway |
| [`ezgh compute network-gateways list`](/cli/reference/compute-network-gateways-list) | List the project's network gateways |
| [`ezgh compute network-gateways update`](/cli/reference/compute-network-gateways-update) | Rename, describe or retag a network gateway |

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