This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
show_usage() { | |
echo "Usage: $0 [list|add|show|remove] [client_name]" | |
echo " list lists all registered peers" | |
echo " add adds a new client with the given name to wireguard" | |
echo " show shows the wireguard configuration for the client with the given name" | |
echo " remove removes a client from wireguard" | |
} |