LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wg-cmd

TUI for managing WireGuard configurations

TLDR

Start the setup wizard for a new interface
$ wg-cmd new
copy
Manage an existing WireGuard interface
$ wg-cmd [wg0]
copy
Generate configuration without UI
$ wg-cmd [wg0] make
copy

SYNOPSIS

wg-cmd [command] [interface]

DESCRIPTION

wg-cmd (WG Commander) provides a text-based user interface for managing WireGuard configuration files. It includes an initial setup wizard, peer management with QR code viewing, and automatic configuration of sysctl, systemd, and NAT rules. Requires root permissions and assumes Linux with iptables and systemd.

INSTALL

sudo apt install wireguard-tools
copy
sudo dnf install wireguard-tools
copy
sudo pacman -S wireguard-tools
copy
sudo apk add wireguard-tools-wg
copy
sudo zypper install wireguard-tools
copy
brew install wireguard-tools
copy
nix profile install nixpkgs#wireguard-tools
copy

HISTORY

wg-cmd was created by Andrian Budantsov (AndrianBdn) and is written in Go.

SEE ALSO

wg(1), vortix(1)

Copied to clipboard
Kai