config

package
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeConfig

type NodeConfig struct {
	*yggcfg.NodeConfig
	TunnelRoutingConfig `json:"TunnelRouting"`
}

func (*NodeConfig) ReadFrom added in v0.5.1

func (cfg *NodeConfig) ReadFrom(r io.Reader) (int64, error)

type TunnelRoutingConfig

type TunnelRoutingConfig struct {
	Enable            bool                `comment:"Enable or disable tunnel routing."`
	InstallRoutes     bool                `comment:"Install system routing table entries automatically (Linux only)."`
	YggdrasilRouting  bool                `comment:"Enable or disable routing of Yggdrasil IPv6 addresses/subnets."`
	RemoteSubnets     map[string][]string `` /* 138-byte string literal not displayed */
	IPv6RemoteSubnets map[string]string   `` /* 144-byte string literal not displayed */
	IPv4RemoteSubnets map[string]string   `` /* 135-byte string literal not displayed */
}

TunnelRoutingConfig contains the crypto-key routing tables for tunneling regular IPv4 or IPv6 subnets across the Yggdrasil network.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL