VPN is very important part of security. I prepared a set of script, so it is easy to run your own VPN server on VPS.
The scripts are available in my Cloud Tunnels respository.
There are 3 types of technologies:
- IKEv2 VPN with StrongSwan and Let’s Encrypt certificate (the best option)
- L2TP VPN server with LibreSwan
- Squid Proxy – it is not VPN, but it can be usefull
Every scripts has 2 variants:
- cloud init script
- shell script
If your VPS provider supports cloud init, the installation of VPN server can be totally unattended. You can run cloud init scripts in Amazon AWS, DigitalOcean or Vultr for example. All scripts assume Centos 7.