Installing the Software ¶
Overview ¶
Once you have provisioned the required infrastructure, you'll have to use Ansible to install and configure Pritunl and its dependencies.
Run the Security & Users Ansible Playbook ¶
Optionally, but recommended, you can use the Ansible playbook to centrally manage users and groups, and to perform basic hardening steps on the operating system.
Before you can use the Ansible playbook you need to configure the .hosts and ansible.cfg files. Then, use the SSH key generated in the security-keys
layer of the Shared account (ssh.tf), referenced as infra-key in the
EC2 instance that was deployed as explained in previous pages of this guide.
Run the Pritunl VPN Ansible Playbook ¶
This Ansible repo will be used here: >> Pritunl VPN Server Playbook <<
Copy the playbooks into your project repository. (e.g. you can create an ansible
directory inside your binbash Leverage project repository, so all your infrastructure code is in the same place)
cd
into the ansible-pritunl-vpn-server
(or the name you've chosen) directory.
Follow the steps in the repository README.md file to install the server.
Handling Installation Errors
During the installation, you may encounter two errors related to displaying the default generated username and password. These can be ignored at this stage; you'll remove them via the command line after the first iteration.
Important
This is a private repository, please get in touch with us to get access to it!