
OpenVPN. There, that’s it. That’s all you need to know.
No, seriously though, the installation is almost that brief as well. We used PiVPN (Raspberry Pi – VPN) don’t worry, it took me a minute to understand the name as well, which is why I broke it down for you.
Look, I know what you’re thinking – “Why provide a link?”. Because, you’re going to screw it up. Le Googles’ offers the first three searches for the SD card users… we are installing this in a Hyper Visor scenario.
2. Next, you’ll need to find yourself a host machine with a VM manager on it. I used Hyper-V offered by Microsoft on their Windows Server 2012 R2 Data-center installation (I know, it’s 2019, but that’s what I have).
3. Frankly, if I need to explain this part to you, you probably shouldn’t be using a hyper-visor just from a security standpoint, so I’m only going to point out the obvious for those who want a quick and dirty installation.
- 50GB HDD
- ISO of Raspbian
- 2vCPU (for quicker installation, but 1vCPU is enough)
- 2GB of RAM (Again, you only need 512MB, but speed)
- 1st Gen Network Adapter (virtual, obviously)
4. Launch your VM
- Boot to ISO (The image you downloaded from Step 1)
- Follow prompts to install Raspbian (INSTALL!!!!)
- After install, reboot and then install updates (apt-get upgrade | update)
5. Time to get dirty. Open terminal, use this launch code:
curl -L https://install.pivpn.io | bash
You will then, spam “enter”. Seriously, just follow the prompts to finalize the configuration (mostly “enter”)
Reboot.
Credit: http://www.pivpn.io/
Key commands to operate OpenVPN (Add Profiles)
pivpn add
Follow the prompt to create the user profile & password
From here, you will then email your profile from the vm (or use SCP).
Import your profile, use your set password and “connect”!

This image = Success