VpnEndpoint
One server of a VPN profile, as the profile's endpoint list keeps it.
Attributes
attributeidstr= Field(..., pattern='^[A-Za-z0-9_-]{1,64}$')Generated identifier.
attributelabelstr= Field(..., min_length=1, max_length=120)What users see; the server's host name unless renamed.
attributehoststr= Field(..., min_length=1, max_length=253)Host name or address of the server.
attributeportint= Field(..., ge=1, le=65535)Its port.
attributeprotostr= Field(default='udp', pattern='^(udp|tcp)$')udp or tcp; WireGuard is always udp.
attributepublic_keystr= ''The server's WireGuard public key; empty for OpenVPN.
attributeallowed_ipsstr= '0.0.0.0/0'The WireGuard peer's allowed addresses.
attributehas_preshared_keybool= False