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

NameTypeJSON nameDescription
AnnotationsModels.Network.VpnGateway_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Endpointstring?endpointWhere peers send their packets (the cell's address and UDP port), once the cell has made the gateway.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Network.VpnGateway_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Networkstring?networkThe network ID or resource name in the same project and location.
PeersList<Models.Network.VpnPeer>?peersThe peers.
PublicKeystring?publicKeyThe gateway's WireGuard public key, once the cell has made the gateway.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RoutesList<string>?routesThe network's ranges offered to the peers; the network's whole range when omitted.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhy the gateway carries no traffic, when it does not.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property