---

Build your own combined OpenVPN/WiKID server for a VPN with built-in two-factor authentication using Packer.

In this tutorial we create a combined Openvpn/WiKID server using packer.

Packer allows us to create VMware, VirtualBox, EC2, GCE, Docker, etc images using code. Note that combining your two-factor authentication server and vpn server on one box may or may not be the best solution for you. We typically like separation of duties for security and flexibility. However, if you need something fast – the PCI auditors arrive Monday – or you are in a repressive state and just need a secure outbound connection for a short period of time. And you still have some flexibility. You can add more services to the WiKID server. You can disable the Openvpn server and instead switch to a different VPN.