[SDK reference](../../index.md) / [Models](../index.md) / [Network](index.md)

# NatGateway

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Network`  

A NAT gateway (founder, 22 Nov 2026; NET-1, NET-4; proposed ADR-0675): the outbound address of one network and its caps. Outbound traffic of the networkis translated to `reservedAddress` (a reserved address of the project, which the gateway then holds) or, without one, to the cell's shared address. Anetwork has one gateway; it needs `egressMode` NAT; it cannot be combined with a dedicated egress address. Outbound TCP/25 is dropped on every network anda gateway cannot allow it: 25 is always in `blockedTcpPorts`, whatever a request says. A gateway is metered by the hour (`nat-gateway-hours`) while itexists. The platform enforces the address first; the caps are enforced where the cell's substrate can, and `stateDetails` says when it cannot yet.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Network.NatGateway_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `BlockedTcpPorts` | `List<int?>?` | `blockedTcpPorts` | TCP ports that never leave the network, at most 16. Port 25 is always one of them. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `IdleTimeoutSeconds` | `int?` | `idleTimeoutSeconds` | How long an idle connection is kept, 30 to 7200 seconds. 300 when omitted. |
| `Labels` | `Models.Network.NatGateway_labels?` | `labels` | At most 64. |
| `MaxConnections` | `int?` | `maxConnections` | The most connections the network holds at once, 1000 to 1,000,000. 65,536 when omitted. |
| `MaxNewConnectionsPerSecond` | `int?` | `maxNewConnectionsPerSecond` | The most new connections a second, 10 to 100,000. 1000 when omitted. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `Network` | `string?` | `network` | The network: its ID or resource name in the same project and location. It cannot be changed. |
| `OutboundAddress` | `string?` | `outboundAddress` | The address the network's outbound traffic leaves from now: the reserved address, or empty while the cell's shared address is used. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `ReservedAddress` | `string?` | `reservedAddress` | The reserved address the network's outbound traffic leaves from: its ID, in the same project and location. It must not be attached to anything. Empty: the cell's shared address. |
| `State` | `Models.Network.NetworkState?` | `state` | Current lifecycle state. |
| `StateDetails` | `string?` | `stateDetails` | What is not enforced yet, or what the substrate said, when something is not. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
