Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureForwarding ¶
func ConfigureForwarding(options ForwardingOptions) error
func ServerVPNIPs ¶
ServerVPNIPs returns two netip.Prefix objects (for IPv4 + IPv6) with the Addr set to the server's IP addresses in these subnets, i.e. the first usable address The return values are the zero prefixes if the corresponding input is an empty string
func SplitAddresses ¶
SplitAddresses splits multiple comma-separated addresses into a slice of address strings
func StringJoinIPNets ¶
StringJoinIPNets joins the string representations of a and b using ", "
func StringJoinIPs ¶
StringJoinIPs joins the string representations of the IPs of a and b using ", "
Types ¶
Click to show internal directories.
Click to hide internal directories.