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

# VpnGatewayMergePatchUpdate

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

A VPN gateway on a network (W124; ADR-0613 item 3, ADR-0609): WireGuard, split tunnel only. The gateway offers its peers only thenetwork's own ranges (`routes`), and sends each peer only the ranges that peer declares; no route and no peer range may be thedefault route, and peers' ranges lie outside the network and apart from each other. Not available to trust tier T0. One gateway pernetwork; add and revoke peers by updating `peers`. Once the cell has made the gateway it shows its `publicKey` and its `endpoint`(the cell's address and a UDP port of the project's port block). Peers' packets reach the network's instances from the gateway'sown address, and, as for a port forward, the network's firewall policies decide: allow ingress UDP 51820 (WireGuard in the gateway)from the addresses your peers dial from.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `UntypedNode?` | `annotations` | At most 256 KiB in all; never policy input. |
| `DisplayName` | `Models.Network.VpnGatewayMergePatchUpdate.VpnGatewayMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `Network` | `string?` | `network` | The network ID or resource name in the same project and location. |
| `Peers` | `List<Models.Network.VpnPeerMergePatchUpdateReplaceOnly>?` | `peers` | The peers. |
| `Routes` | `Models.Network.VpnGatewayMergePatchUpdate.VpnGatewayMergePatchUpdate_routes?` | `routes` | The network's ranges offered to the peers; the network's whole range when omitted. |
