sudo wg showconf wg0

Category: Self-Hosting

sudo wg showconf wg0

Print the full configuration of the wg0 interface including all peer settings

Prints the running configuration of the wg0 interface including all peers. Useful for auditing or backing up your VPN config.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.