Just went through installing Wireguard on a very small 128MB RAM OpenVZ VPS. Just enough to use it as simple VPN.
I mostly followed this excellent guide, but couldn’t compile Wireguard on the server due to a lack for RAM. 🤷
- Install Debian 9 (Debian 10 didn’t work due to firewall errors)
- Make sure
tun/tapis enabled on the virtual server.
wireguard-toolsfrom the unstable repo
wireguard-gobinary (linked below) to
- Generate private and public key for server and client
- Set systemd env var
- Add your server config to
- Enable and start
systemctl start wg-quick@wg0
Below my pre-compiled wireguard-go, if you just need something quick to drop on a low-end VPS.
This was built on Debian 10 and works just as well on Debian 9. Ubuntu could work too.