Documentation ¶
Overview ¶
Package netkernelconf contains code for checking kernel netdev config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUDPGROForwarding ¶
CheckUDPGROForwarding checks if the machine is optimally configured to forward UDP packets between the default route and Tailscale TUN interfaces. It returns a non-nil warn in the case that the configuration is suboptimal. It returns a non-nil err in the case that an error is encountered while performing the check.
func SetUDPGROForwarding ¶ added in v1.68.0
SetUDPGROForwarding enables UDP GRO forwarding for the provided default interface. It validates if the provided tun interface has UDP segmentation enabled and, if not, returns an error. See https://tailscale.com/kb/1320/performance-best-practices#linux-optimizations-for-subnet-routers-and-exit-nodes
Types ¶
This section is empty.