Server
Remote server (eg. DigitalOcean, AWS) where the WireGuard Server will be running.
Peer
#!/bin/bash | |
function date_to_seconds() { | |
if [[ $# -lt 1 ]]; then | |
echo "Date argument missing" | |
echo "Usage: date_to_seconds date" | |
exit 1 | |
fi | |
remove_slash_date=$(echo $1 | sed 's/\//\-/g') |