Temporary Cloud VPN with EC2 and Wireguard

This quick terraform project sets up an EC2 instance, configures wireguard, generates the required keys (including a PSK) and provides the wireguard “Client” configuration. The code can be found here WARNING: Cloud network egress/throughput will incur costs which can vary from region to region. Purpose This terraform code (and associated template file containing a bash script) will create an EC2 instance which is running wireguard and can be used as a VPN endpoint....

December 28, 2023 · Ed Randall

Setting up a home VPN using Wireguard on Mikrotik

I wanted to use create a VPN back to my home network which I could use on the road. The idea was that I could interact with resources on my home network but also have a secure tunnel which I could use if I was needed to use an untrusted WiFi hotspot when in hotels, coffee shops etc. I had previously implemented OpenVPN to do this, with the VPN server running on a small linux machine inside my home network....

December 20, 2022 · Ed Randall