Skip to content

Instantly share code, notes, and snippets.

@colemar
colemar / #wg-peer.md
Last active September 8, 2024 17:01
Manage Wireguard peers (IPv4 only)

Manage Wireguard peers (IPv4 only)

List, add or delete Wireguard peers. Also show client configuration for already added peers.

wg-peer [add|show <peer>|del <peer>|list]

where:

  • a[dd] add a new peer