class

Cl8r::Model::WireGuardSubsystem

Inherits YAML::Serializable < Reference < Object

Represents the WireGuard VPN gateway subsystem specification.

Constructors

new(server_node : String = "util-01", listen_port : Int32 = 51820, public_endpoint : String | Nil = nil, vpn_cidr_ipv4 : String | Nil = "10.99.0.0/24", vpn_cidr_ipv6 : String | Nil = "fd41:99::/64", server_ipv4 : String | Nil = "10.99.0.1", server_ipv6 : String | Nil = "fd41:99::1", allowed_networks : Array(String) = [] of String, clients : Array(WireGuardClient) = [] of WireGuardClient)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

allowed_networks
Source
allowed_networks=(allowed_networks : Array(String))
Source
clients
Source
clients=(clients : Array(WireGuardClient))
Source
listen_port
Source
listen_port=(listen_port : Int32)
Source
public_endpoint
Source
public_endpoint=(public_endpoint : String | Nil)
Source
server_ipv4
Source
server_ipv4=(server_ipv4 : String | Nil)
Source
server_ipv6
Source
server_ipv6=(server_ipv6 : String | Nil)
Source
server_node
Source
server_node=(server_node : String)
Source
vpn_cidr_ipv4
Source
vpn_cidr_ipv4=(vpn_cidr_ipv4 : String | Nil)
Source
vpn_cidr_ipv6
Source
vpn_cidr_ipv6=(vpn_cidr_ipv6 : String | Nil)
Source