Ansible scripts for the set up of a chained wireguard VPN connection
See https://www.ckn.io/blog/2017/12/28/wireguard-vpn-chained-setup/ for details.
on your pc:
cd gate
#Begin the installation process by running
ansible-playbook wireguard.yml -u root -k -i hosts
#If you're using an SSH key for authentication run this instead
ansible-playbook wireguard.yml -u root -i hosts
cd ..
cd middleman
#Begin the installation process by running
ansible-playbook wireguard.yml -u root -k -i hosts
#If you're using an SSH key for authentication run this instead
ansible-playbook wireguard.yml -u root -i hosts
cd ..
# install wireguard first
sudo cp middleman/middleman_client.conf /etc/wireguard/vpn0.conf
sudo wg-quick up vpn0