class

Wgctl::WireGuard::SysctlManager

Inherits Reference < Object

Constants

SYSCTL_FILE = "/etc/sysctl.d/99-wireguard-forward.conf"

Class methods

enable_forwarding(enable_ipv6 : Bool = false) : Tuple(Bool, String)

Configures net.ipv4.ip_forward=1 and IPv6 forwarding

Source