Go to file
2016-07-30 12:33:05 +03:00
configs ECDSA fixed 2016-07-24 14:44:59 +03:00
templates auditd 2016-07-24 16:25:06 +03:00
.gitignore mobileconfig implemented 2016-07-21 22:39:35 +03:00
ansible.cfg split up functions 2016-07-11 19:09:14 +03:00
cloud.yml auditd 2016-07-24 16:25:06 +03:00
common.yml OS hardening to Ubuntu #11 2016-07-28 19:55:49 +03:00
config.cfg config.cfg fixes 2016-07-30 12:33:05 +03:00
deploy.yml OS hardening to Ubuntu #11 2016-07-28 19:55:49 +03:00
inventory Hardcoded info #25 2016-07-30 12:30:33 +03:00
inventory_users Hardcoded info #25 2016-07-30 12:30:33 +03:00
LICENSE Initial commit 2016-05-14 23:42:49 -04:00
README.md Update README.md 2016-07-28 20:18:08 +03:00
security.yml OS hardening to Ubuntu #11 2016-07-28 19:55:49 +03:00
users.yml server name fixed 2016-07-28 00:29:39 +03:00
vpn.yml User management 2016-07-28 00:27:11 +03:00

Local requirements:
  • ansible >= 2.2.0
  • python >= 2.6
  • dopy
How to run:
  • Open the file config.cfg in your favorite text editor and change variables. At least you should change server_name, and specify users in users list.
  • Start to deploy and follow the instructions:
ansible-playbook deploy.yml
  • When the process is done, you can see .mobileconfig files and certificates in the directory - configs. Send .mobileconfig to your users for using on iPhones or MacOS or send certificates for using on other clients (StrongSwan client for Android or native IKEv2 client for Windows)

  • When the deploy proccess is done a new server will be placed in the local inventory file - inventory_users

  • If you want to add or delete users, just update the (users) list in the config file (config.cfg) and then run the playbook:
    (This command will update users on all your servers in the file inventory_users, if you want to limit servers, you can use option -l )

ansible-playbook users.yml -i inventory_users
ansible-playbook users.yml -i inventory_users -l vpnserver.com