This project builds a snap for easy OpenVPN setup and installation. It was designed to be deployed with as little configuration & setup as possible for spot deployment of secure yet disposable OpenVPN instances.
We disable user and group setup for openvpn server for the time being as an open bug can be found on launchpad. lp#1606510 )] :( See TODO for current issues. Consider this currently experimental quality.
Commands subject to change as I refine things, but here goes:
sudo snap install easy-openvpn
sudo easy-openvpn.setup -u udp://<public ip>
You'll be prompted to set a passphrase for your CA. This passphrase will be used to create clients later.
sudo service snap.easy-openvpn.easy-openvpn start
sudo service snap.easy-openvpn.add-client foo > foo.ovpn
Enter the same passphrase you set during setup above. Use the .ovpn file to connect to your VPN server.
sudo easy-openvpn.clients
sudo easy-openvpn.show-client foo
sudo easy-openvpn.status