cunΔ«cu(1)
π
cunΔ«cu β the wg show page, bestie edition
okay so real talk, this is the manual for cunicu-wg-show, which lives inside the cunΔ«cu manual (cunΔ«cu(1)). grab a strawberry drink π and let's get into it.
β¨ NAME β¨
cunicu-wg-show β shows the current WireGuard configuration and runtime info of the [interface] you point at π«Ά
πΈ SYNOPSIS πΈ
cunicu wg show { interface-name | all | interfaces } [{ public-key |
private-key | listen-port | fwmark | peers | preshared-keys | endpoints |
allowed-ips | latest-handshakes | transfer | persistent-keepalive |
dump }] [flags]
π¦ DESCRIPTION π¦
Shows the current WireGuard configuration and runtime information of the specified [interface]. iconic behaviour, no notes π
If you don't give it an [interface], then [interface] defaults to 'all'. generous queen β¨
If you do say 'interfaces', it prints a list of all WireGuard interfaces, one per line, and then it quits. like, it's done, bye π
If you give no options after the interface spec, it prints a list of all attributes in a visually pleasing way, meant for the terminal. pretty mode π Otherwise it prints the info you asked for grouped by newlines and tabs β that's the script-friendly, machine-munchable mode.
For that script-friendly display: if 'all' is specified, then the first field for all categories of information is the interface name. so you always know who's who π
If 'dump' is specified, then several lines get printed π and here's the deets:
- the first line contains, in order, separated by tab:
private-key,public-key,listen-port,fwmark - subsequent lines are printed for each peer and contain, in order, separated by tab:
public-key,preshared-key,endpoint,allowed-ips,latest-handshake,transfer-rx,transfer-tx,persistent-keepalive
ngl if you're scripting against dump, keep the column order exactly like that. fr fr, it's tab-separated and order matters π
π OPTIONS π
-h,--help[=false]β help forshow. classic, we love a help flag π«Ά-s,--rpc-socket="/run/cunicu.sock"β the Unix control and monitoring socket. default path is literally/run/cunicu.sock, slay π₯
π OPTIONS INHERITED FROM PARENT COMMANDS π
these bad boys come from the parent command, so you get them for free β¨
-q,--color="auto"β enables colorization of output (one of:auto,always,never). default isautoβ let the terminal decide, main character energy π-l,--log-file=[]β path of a file to write logs to π-d,--log-level=[]β log level filter rule (one of:debug,info,warn,error,dpanic,panic, andfatal) and the default is"info". so yes,dpanicandpanicandfatalare all real options, and yes you probably don't want them unless you're feeling chaotic ππ₯
π§ SEE ALSO π§
cunicu-wg(1)β go read the parent page too, iykyk
and that's the whole page, bestie π source lives at https://github.com/cunicu/cunicu and this one is dated Jan 1980 (iconic vintage timestamp, don't ask π) β mwah, go show those interfaces πΈ
π¦ where this page comes from
- nixos 26.05: cunicu 0.12.0
- nixpkgs unstable: cunicu 0.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms