Skip to main content

bring_up_node_wireguard

Function bring_up_node_wireguard 

Source
pub fn bring_up_node_wireguard(
    config: &NodeWgPeerConfig,
) -> Result<IpAddr, NodeWgPeerError>
Expand description

Creates the node↔C2 WireGuard peer.

Default: userspace supervisor (boringtun + smoltcp). No system TUN. With WG_KERNEL_ENV=1 on non-Windows: kernel ip/wg (needs CAP_NET_ADMIN).