List, add or delete Wireguard peers. Also show client configuration for already added peers.
wg-peer [add [<desc>]|show <peer>|del <peer> ...|list]
where:
a[dd]add a new peer
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#[email protected]'], | |
| \ ['Austrian Holidays', 'en.austrian#[email protected]'], | |
| \ ['Brazilian Holidays', 'en.brazilian#[email protected]'], | |
| \ ['Canadian Holidays', 'en.canadian#[email protected]'], | |
| \ ['China Holidays', 'en.china#[email protected]'], | |
| \ ['Christian Holidays', 'en.christian#[email protected]'], | |
| \ ['Danish Holidays', 'en.danish#[email protected]'], |
| <?php | |
| // | |
| // executeRequest | |
| // | |
| // uses cURL to run a http(s) request. | |
| // data, contentType, user, password are all optional | |
| // | |
| function executeRequest($target, $data, $contentType, $user, $password, &$http_status) { | |
| //try to send request to remote |
| #!/bin/bash | |
| # required Chrome version can be found here: | |
| # https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable | |
| CHROME_VERSION="" | |
| wget --no-check-certificate \ | |
| https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb |