mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
list all wireguard clients
This commit is contained in:
parent
fc0c29cc3d
commit
1aec80d4c9
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ function listClients() {
|
|||
fi
|
||||
|
||||
grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') '
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
function revokeClient() {
|
||||
|
|
Loading…
Add table
Reference in a new issue