Linux command
wg-cmd 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start the setup wizard for a new interface
wg-cmd new
Manage an existing WireGuard interface
wg-cmd [wg0]
Generate configuration without UI
wg-cmd [wg0] make
说明
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.
FAQ
What is the wg-cmd command used for?
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.
How do I run a basic wg-cmd example?
Run `wg-cmd new` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more wg-cmd examples?
This page includes 3 examples for wg-cmd, plus related commands for nearby Linux tasks.