Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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