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 a kernel WireGuard interface for the node↔C2 peer. Allowed IPs and the installed route are only the C2 tunnel host. Does not substitute another transport when ip link add type wireguard fails.