WireGuard is the new kid on the block with regards to VPN stuff. It's simple, (comparatively) easy to set up and fast.
Maybe the code isn’t perfect, but I’ve skimmed it, and compared to the horrors that are OpenVPN and IPsec, it’s a work of art.
It's useful for accessing anabasis machines.
1. Install from https://www.wireguard.com/install/
tml to generate your keys and add them to terra.
3. Use the following template for the connection:
[Interface] Address = 192.168.10.xx/32 PrivateKey = xxx [Peer] PublicKey = /AZxUoy1XVY9x8b875oo1tRRVywGGwmid4pDJ0nEBSk= Endpoint = 184.108.40.206:51194 AllowedIPs = 192.168.10.0/24 PersistentKeepalive = 20
Save & done!
wg genkey | tee privatekey | wg pubkey > publickey
wg syncconf wg-anabasis <(wg-quick strip wg-anabasis)
iptables -A FORWARD -i wg0 -o wg0 -j ACCEPT