Find file History
Pull request Compare This branch is 113 commits ahead, 57 commits behind freifunk-luebeck:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Automate Wireguard configuration

Script to configure pointtopoint tunnel with wireguard.


wg genkey | tee privatekey | wg pubkey > publickey
cat privatekey publickey
# set your ips, privatekey and peers
# install systemd service
ln -s $(readlink -f wireguard.service) /etc/systemd/system/wireguard.service
systemctl start wireguard
# manual
./wireguard start