SolarOS

SolarOS 4.17.7 manual · command

wireguard

Show profile, tunnel, selected underlay, route, peer, DNS, and kill-switch state without printing key material.

Usage

UsageDescription
wireguard [status]Show profile, tunnel, selected underlay, route, peer, DNS, and kill-switch state without printing key material.
wireguard import <file>Validate one standard WireGuard client profile and save it in NVS. The source file is not removed.
wireguard forgetLogically remove the saved profile from NVS. Bring the tunnel down first.
wireguard up [fail-open|fail-closed]Request the tunnel and reconnect it when the preferred network underlay changes. The default is fail-closed for a full tunnel and fail-open for a split tunnel.
wireguard downStop the tunnel, remove its routes, restore DNS, and disable its kill switch.