# sudo add-apt-repository ppa:wireguard/wireguard
# sudo apt-get update
# sudo apt-get install wireguard
The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
- Image from https://www.archlinux.org/
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 | |
PORT_FOUND="0" | |
PORT=0 | |
if [ $# -eq 1 ]; then | |
echo "I'm testing the port" | |
for port in `seq 1 65535`; do | |
echo "port=" $port | |
./hb-test.py $1 -p $port -P >> /dev/null | |
if [ $? -eq 0 ]; then |