SDK reference / Models / Network
VpnGateway
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 | Models.Network.VpnGateway_annotations? | annotations | At most 256 KiB in all; never policy input. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Endpoint | string? | endpoint | Where peers send their packets (the cell's address and UDP port), once the cell has made the gateway. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Network.VpnGateway_labels? | labels | At most 64. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
Network | string? | network | The network ID or resource name in the same project and location. |
Peers | List<Models.Network.VpnPeer>? | peers | The peers. |
PublicKey | string? | publicKey | The gateway's WireGuard public key, once the cell has made the gateway. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Routes | List<string>? | routes | The network's ranges offered to the peers; the network's whole range when omitted. |
State | Models.Network.NetworkState? | state | Current lifecycle state. |
StateDetails | string? | stateDetails | Why the gateway carries no traffic, when it does not. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |