trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.93k stars 2.32k forks source link

Windows Client Automatic Installation not responding #1016

Closed ZMadding closed 6 years ago

ZMadding commented 6 years ago

OS / Environment (where do you run Algo on)

Windows 10 Home Version 10.0.17134 Build 17134

Linux DESKTOP-IJ18JER 4.4.0-17134-Microsoft #137-Microsoft Thu Jun 14 18:46:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

Cloud Provider (where do you deploy Algo to)

DO

Summary of the problem

Found this gitter today after following https://www.pcworld.com/article/3251785/security/how-to-set-up-and-run-your-own-vpn-server-on-windows.html

When I attempt to use the automatic installation command in PowerShell, I see "Running Script / Selection. Press Ctrl + Break to stop" but nothing happens. I gave it several attempts and let it run for 4 hours last night.

Steps to reproduce the behavior

  1. Open PowerShell as Admin
  2. Run the following command: powershell -ExecutionPolicy ByPass -File C:\path\to\windows_USER.ps1 -Add
  3. Notice running script in PowerShell. IP address unchanged, no algo network connection available.

Full log

administrator@DESKTOP-IJ18JER:~$ cd algo-master
administrator@DESKTOP-IJ18JER:~/algo-master$ ./algo

  What provider would you like to use?
    1. DigitalOcean
    2. Amazon EC2
    3. Microsoft Azure
    4. Google Compute Engine
    5. Scaleway
    6. OpenStack (DreamCompute optimised)
    7. Install to existing Ubuntu 16.04 server (Advanced)

Enter the number of your desired provider
: 1

Enter your API token. The token must have read and write permissions (https://cloud.digitalocean.com/settings/api/tokens):
[pasted values will not be displayed]
:

Name the vpn server:
[algo.local]: Algo-DO

  What region should the server be located in?
    1.  Amsterdam        (Datacenter 2)
    2.  Amsterdam        (Datacenter 3)
    3.  Frankfurt
    4.  London
    5.  New York         (Datacenter 1)
    6.  New York         (Datacenter 2)
    7.  New York         (Datacenter 3)
    8.  San Francisco    (Datacenter 1)
    9.  San Francisco    (Datacenter 2)
    10. Singapore
    11. Toronto
    12. Bangalore

Enter the number of your desired region:
[7]: 9

Do you want macOS/iOS clients to enable "VPN On Demand" when connected to cellular networks?
[y/N]: y

Do you want macOS/iOS clients to enable "VPN On Demand" when connected to Wi-Fi?
[y/N]: y

List the names of trusted Wi-Fi networks (if any) that macOS/iOS clients exclude from using the VPN (e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi)
:

Do you want to install a DNS resolver on this VPN server, to block ads while surfing?
[y/N]: y

Do you want each user to have their own account for SSH tunneling?
[y/N]: y

Do you want the VPN to support Windows 10 or Linux Desktop clients? (enables compatible ciphers and key exchange, less secure)
[y/N]: y

Do you want to retain the CA key? (required to add users in the future, but less secure)
[y/N]: y

PLAY [Configure the server] ********************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [Local pre-tasks] *************************************************************************************************
included: /home/administrator/algo-master/playbooks/local.yml for localhost

TASK [Generate the SSH private key] ************************************************************************************
ok: [localhost]

TASK [Generate the SSH public key] *************************************************************************************
ok: [localhost]

TASK [Change mode for the SSH private key] *****************************************************************************
ok: [localhost]

TASK [Ensure the dynamic inventory exists] *****************************************************************************
ok: [localhost]

TASK [cloud-digitalocean : Set the DigitalOcean Access Token fact] *****************************************************
ok: [localhost]

TASK [cloud-digitalocean : Delete the existing Algo SSH keys] **********************************************************
ok: [localhost]

TASK [cloud-digitalocean : Upload the SSH key] *************************************************************************
changed: [localhost]

TASK [cloud-digitalocean : Creating a droplet...] **********************************************************************
changed: [localhost]

TASK [cloud-digitalocean : Add the droplet to an inventory group] ******************************************************
changed: [localhost]

TASK [cloud-digitalocean : set_fact] ***********************************************************************************
ok: [localhost]

TASK [cloud-digitalocean : Tag the droplet] ****************************************************************************
changed: [localhost]

TASK [cloud-digitalocean : Get droplets] *******************************************************************************
ok: [localhost]

TASK [cloud-digitalocean : Ensure the group digitalocean exists in the dynamic inventory file] *************************
ok: [localhost]

TASK [cloud-digitalocean : Populate the dynamic inventory] *************************************************************
ok: [localhost] => (item={u'status': u'active', u'kernel': None, u'volume_ids': [], u'locked': False, u'name': u'algo-digital-ocean', u'backup_ids': [], u'created_at': u'2018-06-27T20:20:48Z', u'snapshot_ids': [], u'size_slug': u's-1vcpu-1gb', u'id': 99589073, u'next_backup_window': None, u'vcpus': 1, u'features': [u'ipv6'], u'image': {u'min_disk_size': 20, u'name': u'18.04 x64', u'created_at': u'2018-05-24T00:53:48Z', u'slug': u'ubuntu-18-04-x64', u'regions': [u'nyc1', u'sfo1', u'nyc2', u'ams2', u'sgp1', u'lon1', u'nyc3', u'ams3', u'fra1', u'tor1', u'sfo2', u'blr1'], u'public': True, u'distribution': u'Ubuntu', u'type': u'snapshot', u'id': 34629387, u'size_gigabytes': 0.35}, u'memory': 1024, u'region': {u'available': True, u'features': [u'private_networking', u'backups', u'ipv6', u'metadata', u'install_agent', u'storage', u'image_transfer'], u'slug': u'sfo2', u'name': u'San Francisco 2', u'sizes': [u'16gb', u'2gb', u'1gb', u'4gb', u'8gb', u'512mb', u's-1vcpu-3gb', u'c-2', u'm-1vcpu-8gb', u's-1vcpu-1gb', u's-1vcpu-2gb', u's-2vcpu-2gb', u's-3vcpu-1gb', u's-2vcpu-4gb', u's-4vcpu-8gb', u's-6vcpu-16gb', u'c-1vcpu-2gb']}, u'disk': 25, u'networks': {u'v4': [{u'ip_address': u'138.68.5.28', u'netmask': u'255.255.240.0', u'type': u'public', u'gateway': u'138.68.0.1'}], u'v6': [{u'ip_address': u'2604:A880:0002:00D0:0000:0000:20B8:B001', u'netmask': 64, u'type': u'public', u'gateway': u'2604:a880:0002:00d0:0000:0000:0000:0001'}]}, u'tags': [u'Environment:Algo'], u'size': {u'price_monthly': 5.0, u'available': True, u'transfer': 1.0, u'price_hourly': 0.00744, u'regions': [u'ams2', u'ams3', u'blr1', u'fra1', u'lon1', u'nyc1', u'nyc2', u'nyc3', u'sfo1', u'sfo2', u'sgp1', u'tor1'], u'vcpus': 1, u'memory': 1024, u'disk': 25, u'slug': u's-1vcpu-1gb'}})
changed: [localhost] => (item={u'status': u'active', u'kernel': None, u'volume_ids': [], u'locked': False, u'name': u'Algo-DO', u'backup_ids': [], u'created_at': u'2018-06-28T18:01:13Z', u'snapshot_ids': [], u'size_slug': u's-1vcpu-1gb', u'id': 99697973, u'next_backup_window': None, u'vcpus': 1, u'features': [u'ipv6'], u'image': {u'min_disk_size': 20, u'name': u'18.04 x64', u'created_at': u'2018-05-24T00:53:48Z', u'slug': u'ubuntu-18-04-x64', u'regions': [u'nyc1', u'sfo1', u'nyc2', u'ams2', u'sgp1', u'lon1', u'nyc3', u'ams3', u'fra1', u'tor1', u'sfo2', u'blr1'], u'public': True, u'distribution': u'Ubuntu', u'type': u'snapshot', u'id': 34629387, u'size_gigabytes': 0.35}, u'memory': 1024, u'region': {u'available': True, u'features': [u'private_networking', u'backups', u'ipv6', u'metadata', u'install_agent', u'storage', u'image_transfer'], u'slug': u'sfo2', u'name': u'San Francisco 2', u'sizes': [u'16gb', u'2gb', u'1gb', u'4gb', u'8gb', u'512mb', u's-1vcpu-3gb', u'c-2', u'm-1vcpu-8gb', u's-1vcpu-1gb', u's-1vcpu-2gb', u's-2vcpu-2gb', u's-3vcpu-1gb', u's-2vcpu-4gb', u's-4vcpu-8gb', u's-6vcpu-16gb', u'c-1vcpu-2gb']}, u'disk': 25, u'networks': {u'v4': [{u'ip_address': u'138.68.247.1', u'netmask': u'255.255.240.0', u'type': u'public', u'gateway': u'138.68.240.1'}], u'v6': [{u'ip_address': u'2604:A880:0002:00D0:0000:0000:1205:6001', u'netmask': 64, u'type': u'public', u'gateway': u'2604:a880:0002:00d0:0000:0000:0000:0001'}]}, u'tags': [u'Environment:Algo'], u'size': {u'price_monthly': 5.0, u'available': True, u'transfer': 1.0, u'price_hourly': 0.00744, u'regions': [u'ams2', u'ams3', u'blr1', u'fra1', u'lon1', u'nyc1', u'nyc2', u'nyc3', u'sfo1', u'sfo2', u'sgp1', u'tor1'], u'vcpus': 1, u'memory': 1024, u'disk': 25, u'slug': u's-1vcpu-1gb'}})

TASK [cloud-digitalocean : Delete the new Algo SSH key] ****************************************************************
FAILED - RETRYING: Delete the new Algo SSH key (10 retries left).
ok: [localhost]

TASK [Local post-tasks] ************************************************************************************************
included: /home/administrator/algo-master/playbooks/post.yml for localhost

TASK [Wait until SSH becomes ready...] *********************************************************************************
ok: [localhost]

TASK [A short pause, in order to be sure the instance is ready] ********************************************************
Pausing for 20 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [localhost]

TASK [include_tasks] ***************************************************************************************************
included: /home/administrator/algo-master/playbooks/local_ssh.yml for localhost

TASK [Ensure the local ssh directory is exist] *************************************************************************
ok: [localhost]

TASK [Copy the algo ssh key to the local ssh directory] ****************************************************************
ok: [localhost]

PLAY [Configure the server and install required software] **************************************************************

TASK [Common pre-tasks] ************************************************************************************************
included: /home/administrator/algo-master/playbooks/common.yml for 138.68.247.1

TASK [Check the system] ************************************************************************************************
changed: [138.68.247.1]

TASK [Ubuntu pre-tasks] ************************************************************************************************
included: /home/administrator/algo-master/playbooks/ubuntu.yml for 138.68.247.1

TASK [Ubuntu | Install prerequisites] **********************************************************************************
changed: [138.68.247.1] => (item=sleep 10)
changed: [138.68.247.1] => (item=apt-get update -qq)
changed: [138.68.247.1] => (item=apt-get install -qq -y python2.7 sudo)

TASK [Ubuntu | Configure defaults] *************************************************************************************
changed: [138.68.247.1]

TASK [FreeBSD pre-tasks] ***********************************************************************************************
skipping: [138.68.247.1]

TASK [include_tasks] ***************************************************************************************************
included: /home/administrator/algo-master/playbooks/facts/main.yml for 138.68.247.1

TASK [Gather Facts] ****************************************************************************************************
ok: [138.68.247.1]

TASK [Ensure the algo ssh key exist on the server] *********************************************************************
ok: [138.68.247.1]

TASK [Check if IPv6 configured] ****************************************************************************************
ok: [138.68.247.1]

TASK [Set facts if the deployment in a cloud] **************************************************************************
ok: [138.68.247.1]

TASK [Generate password for the CA key] ********************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [Generate p12 export password] ************************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [Define password facts] *******************************************************************************************
ok: [138.68.247.1]

TASK [Define the commonName] *******************************************************************************************
ok: [138.68.247.1]

TASK [common : include_tasks] ******************************************************************************************
included: /home/administrator/algo-master/roles/common/tasks/ubuntu.yml for 138.68.247.1

TASK [common : Install software updates] *******************************************************************************
changed: [138.68.247.1]

TASK [common : Upgrade the ca certificates] ****************************************************************************
ok: [138.68.247.1]

TASK [common : Check if reboot is required] ****************************************************************************
changed: [138.68.247.1]

TASK [common : Reboot] *************************************************************************************************
changed: [138.68.247.1]

TASK [common : Wait until SSH becomes ready...] ************************************************************************
ok: [138.68.247.1 -> localhost]

TASK [common : Include unatteded upgrades configuration] ***************************************************************
included: /home/administrator/algo-master/roles/common/tasks/unattended-upgrades.yml for 138.68.247.1

TASK [common : Install unattended-upgrades] ****************************************************************************
ok: [138.68.247.1]

TASK [common : Configure unattended-upgrades] **************************************************************************
changed: [138.68.247.1]

TASK [common : Periodic upgrades configured] ***************************************************************************
changed: [138.68.247.1]

TASK [common : Disable MOTD on login and SSHD] *************************************************************************
changed: [138.68.247.1] => (item={u'regexp': u'^session.*optional.*pam_motd.so.*', u'line': u'# MOTD DISABLED', u'file': u'/etc/pam.d/login'})
changed: [138.68.247.1] => (item={u'regexp': u'^session.*optional.*pam_motd.so.*', u'line': u'# MOTD DISABLED', u'file': u'/etc/pam.d/sshd'})

TASK [common : Loopback for services configured] ***********************************************************************
changed: [138.68.247.1]

TASK [common : systemd services enabled and started] *******************************************************************
ok: [138.68.247.1] => (item=systemd-networkd)
ok: [138.68.247.1] => (item=systemd-resolved)

RUNNING HANDLER [common : restart systemd-networkd] ********************************************************************
changed: [138.68.247.1]

TASK [common : Check apparmor support] *********************************************************************************
changed: [138.68.247.1]

TASK [common : set_fact] ***********************************************************************************************
ok: [138.68.247.1]

TASK [common : set_fact] ***********************************************************************************************
ok: [138.68.247.1]

TASK [common : include_tasks] ******************************************************************************************
skipping: [138.68.247.1]

TASK [common : Install tools] ******************************************************************************************
ok: [138.68.247.1] => (item=git)
ok: [138.68.247.1] => (item=screen)
changed: [138.68.247.1] => (item=apparmor-utils)
ok: [138.68.247.1] => (item=uuid-runtime)
ok: [138.68.247.1] => (item=coreutils)
changed: [138.68.247.1] => (item=iptables-persistent)
changed: [138.68.247.1] => (item=cgroup-tools)
ok: [138.68.247.1] => (item=openssl,linux-headers-4.15.0-22-generic)

TASK [common : Sysctl tuning] ******************************************************************************************
changed: [138.68.247.1] => (item={u'item': u'net.ipv4.ip_forward', u'value': 1})
changed: [138.68.247.1] => (item={u'item': u'net.ipv4.conf.all.forwarding', u'value': 1})
changed: [138.68.247.1] => (item={u'item': u'net.ipv6.conf.all.forwarding', u'value': 1})

TASK [dns_encryption : Include tasks for Ubuntu] ***********************************************************************
included: /home/administrator/algo-master/roles/dns_encryption/tasks/ubuntu.yml for 138.68.247.1

TASK [dns_encryption : Add the repository] *****************************************************************************
changed: [138.68.247.1]

TASK [dns_encryption : Install dnscrypt-proxy] *************************************************************************
changed: [138.68.247.1]

TASK [dns_encryption : Ubuntu | Unbound profile for apparmor configured] ***********************************************
changed: [138.68.247.1]

TASK [dns_encryption : Ubuntu | Enforce the dnscrypt-proxy AppArmor policy] ********************************************
ok: [138.68.247.1]

TASK [dns_encryption : Ubuntu | Ensure that the dnscrypt-proxy service directory exist] ********************************
changed: [138.68.247.1]

TASK [dns_encryption : Ubuntu | Add capabilities to bind ports] ********************************************************
changed: [138.68.247.1]

TASK [dns_encryption : Include tasks for FreeBSD] **********************************************************************
skipping: [138.68.247.1]

TASK [dns_encryption : dnscrypt-proxy configured] **********************************************************************
changed: [138.68.247.1]

TASK [dns_encryption : dnscrypt-proxy enabled and started] *************************************************************
ok: [138.68.247.1]

RUNNING HANDLER [dns_encryption : restart dnscrypt-proxy] **************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : The DNS tag is defined] *************************************************************************
ok: [138.68.247.1]

TASK [dns_adblocking : Dnsmasq installed] ******************************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Ensure that the dnsmasq user exist] *************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : The dnsmasq directory created] ******************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : include_tasks] **********************************************************************************
included: /home/administrator/algo-master/roles/dns_adblocking/tasks/ubuntu.yml for 138.68.247.1

TASK [dns_adblocking : Ubuntu | Dnsmasq profile for apparmor configured] ***********************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Ubuntu | Enforce the dnsmasq AppArmor policy] ***************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Ubuntu | Ensure that the dnsmasq service directory exist] ***************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Ubuntu | Setup the cgroup limitations for the ipsec daemon] *************************************
changed: [138.68.247.1]

TASK [dns_adblocking : include_tasks] **********************************************************************************
skipping: [138.68.247.1]

TASK [dns_adblocking : Dnsmasq configured] *****************************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Adblock script created] *************************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Adblock script added to cron] *******************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Update adblock hosts] ***************************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [dns_adblocking : restart dnsmasq] *********************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [vpn : daemon-reload] **********************************************************************************
changed: [138.68.247.1]

TASK [dns_adblocking : Dnsmasq enabled and started] ********************************************************************
ok: [138.68.247.1]

TASK [ssh_tunneling : Ensure that the sshd_config file has desired options] ********************************************
changed: [138.68.247.1]

TASK [ssh_tunneling : Ensure that the algo group exist] ****************************************************************
changed: [138.68.247.1]

TASK [ssh_tunneling : Ensure that the jail directory exist] ************************************************************
changed: [138.68.247.1]

TASK [ssh_tunneling : Ensure that the SSH users exist] *****************************************************************
changed: [138.68.247.1] => (item=ZM)
changed: [138.68.247.1] => (item=MJ)

TASK [ssh_tunneling : The authorized keys file created] ****************************************************************
changed: [138.68.247.1] => (item=ZM)
changed: [138.68.247.1] => (item=MJ)

TASK [ssh_tunneling : Generate SSH fingerprints] ***********************************************************************
changed: [138.68.247.1]

TASK [ssh_tunneling : Fetch users SSH private keys] ********************************************************************
changed: [138.68.247.1] => (item=ZM)
changed: [138.68.247.1] => (item=MJ)

TASK [ssh_tunneling : Change mode for SSH private keys] ****************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [ssh_tunneling : Fetch the known_hosts file] **********************************************************************
changed: [138.68.247.1 -> localhost]

TASK [ssh_tunneling : Build the client ssh config] *********************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [ssh_tunneling : SSH | Get active system users] *******************************************************************
skipping: [138.68.247.1]

TASK [ssh_tunneling : SSH | Delete non-existing users] *****************************************************************
skipping: [138.68.247.1] => (item=null)

TASK [wireguard : WireGuard repository configured] *********************************************************************
changed: [138.68.247.1]

TASK [wireguard : WireGuard installed] *********************************************************************************
changed: [138.68.247.1]

TASK [wireguard : Ensure the required directories exist] ***************************************************************
changed: [138.68.247.1 -> localhost] => (item=private)
changed: [138.68.247.1 -> localhost] => (item=public)

TASK [wireguard : Delete the lock files] *******************************************************************************
skipping: [138.68.247.1] => (item=ZM)
skipping: [138.68.247.1] => (item=MJ)
skipping: [138.68.247.1] => (item=138.68.247.1)

TASK [wireguard : Generate private keys] *******************************************************************************
changed: [138.68.247.1] => (item=ZM)
changed: [138.68.247.1] => (item=MJ)
changed: [138.68.247.1] => (item=138.68.247.1)
 [WARNING]: As of Ansible 2.4, the parameter 'executable' is no longer supported with the 'command' module. Not using
'bash'.

TASK [wireguard : Save private keys] ***********************************************************************************
changed: [138.68.247.1] => (item=None)
changed: [138.68.247.1] => (item=None)
changed: [138.68.247.1] => (item=None)

TASK [wireguard : Touch the lock file] *********************************************************************************
changed: [138.68.247.1] => (item=ZM)
changed: [138.68.247.1] => (item=MJ)
changed: [138.68.247.1] => (item=138.68.247.1)

TASK [wireguard : Generate public keys] ********************************************************************************
ok: [138.68.247.1] => (item=ZM)
ok: [138.68.247.1] => (item=MJ)
ok: [138.68.247.1] => (item=138.68.247.1)

TASK [wireguard : Save public keys] ************************************************************************************
changed: [138.68.247.1] => (item=None)
changed: [138.68.247.1] => (item=None)
changed: [138.68.247.1] => (item=None)

TASK [wireguard : WireGuard configured] ********************************************************************************
changed: [138.68.247.1]

TASK [wireguard : WireGuard reload-module-on-update] *******************************************************************
changed: [138.68.247.1]

TASK [wireguard : WireGuard users config generated] ********************************************************************
changed: [138.68.247.1 -> localhost] => (item=(0, u'ZM'))
changed: [138.68.247.1 -> localhost] => (item=(1, u'MJ'))

TASK [wireguard : WireGuard enabled and started] ***********************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [ssh_tunneling : restart ssh] **************************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [wireguard : restart wireguard] ************************************************************************
changed: [138.68.247.1]

TASK [vpn : Ensure that the strongswan group exist] ********************************************************************
changed: [138.68.247.1]

TASK [vpn : Ensure that the strongswan user exist] *********************************************************************
changed: [138.68.247.1]

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/ubuntu.yml for 138.68.247.1

TASK [vpn : set_fact] **************************************************************************************************
ok: [138.68.247.1]

TASK [vpn : Ubuntu | Install strongSwan] *******************************************************************************
changed: [138.68.247.1]

TASK [vpn : Ubuntu | Enforcing ipsec with apparmor] ********************************************************************
changed: [138.68.247.1] => (item=/usr/lib/ipsec/charon)
changed: [138.68.247.1] => (item=/usr/lib/ipsec/lookip)
changed: [138.68.247.1] => (item=/usr/lib/ipsec/stroke)

TASK [vpn : Ubuntu | Enable services] **********************************************************************************
ok: [138.68.247.1] => (item=apparmor)
ok: [138.68.247.1] => (item=strongswan)
ok: [138.68.247.1] => (item=netfilter-persistent)

TASK [vpn : Ubuntu | Ensure that the strongswan service directory exist] ***********************************************
changed: [138.68.247.1]

TASK [vpn : Ubuntu | Setup the cgroup limitations for the ipsec daemon] ************************************************
changed: [138.68.247.1]

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/iptables.yml for 138.68.247.1

TASK [vpn : Iptables configured] ***************************************************************************************
changed: [138.68.247.1] => (item={u'dest': u'/etc/iptables/rules.v4', u'src': u'rules.v4.j2'})

TASK [vpn : Iptables configured] ***************************************************************************************
changed: [138.68.247.1] => (item={u'dest': u'/etc/iptables/rules.v6', u'src': u'rules.v6.j2'})

TASK [vpn : include_tasks] *********************************************************************************************
skipping: [138.68.247.1]

TASK [vpn : Install strongSwan] ****************************************************************************************
ok: [138.68.247.1]

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/ipsec_configuration.yml for 138.68.247.1

TASK [vpn : Setup the config files from our templates] *****************************************************************
changed: [138.68.247.1] => (item={u'dest': u'/etc/strongswan.conf', u'src': u'strongswan.conf.j2', u'group': u'root', u'mode': u'0644', u'owner': u'root'})
changed: [138.68.247.1] => (item={u'dest': u'/etc/ipsec.conf', u'src': u'ipsec.conf.j2', u'group': u'root', u'mode': u'0644', u'owner': u'root'})
changed: [138.68.247.1] => (item={u'dest': u'/etc/ipsec.secrets', u'src': u'ipsec.secrets.j2', u'group': u'root', u'mode': u'0600', u'owner': u'strongswan'})

TASK [vpn : Get loaded plugins] ****************************************************************************************
changed: [138.68.247.1]

TASK [vpn : Disable unneeded plugins] **********************************************************************************
changed: [138.68.247.1] => (item=eap-mschapv2)
skipping: [138.68.247.1] => (item=hmac)
skipping: [138.68.247.1] => (item=gcm)
changed: [138.68.247.1] => (item=dnskey)
changed: [138.68.247.1] => (item=resolve)
changed: [138.68.247.1] => (item=constraints)
skipping: [138.68.247.1] => (item=nonce)
changed: [138.68.247.1] => (item=aesni)
skipping: [138.68.247.1] => (item=pubkey)
changed: [138.68.247.1] => (item=md4)
changed: [138.68.247.1] => (item=fips-prf)
skipping: [138.68.247.1] => (item=pkcs12)
skipping: [138.68.247.1] => (item=stroke)
skipping: [138.68.247.1] => (item=pem)
skipping: [138.68.247.1] => (item=sha2)
changed: [138.68.247.1] => (item=xcbc)
changed: [138.68.247.1] => (item=updown)
changed: [138.68.247.1] => (item=sshkey)
changed: [138.68.247.1] => (item=mgf1)
skipping: [138.68.247.1] => (item=pkcs7)
changed: [138.68.247.1] => (item=sha1)
changed: [138.68.247.1] => (item=md5)
skipping: [138.68.247.1] => (item=revocation)
changed: [138.68.247.1] => (item=pkcs1)
changed: [138.68.247.1] => (item=xauth-generic)
skipping: [138.68.247.1] => (item=socket-default)
changed: [138.68.247.1] => (item=agent)
changed: [138.68.247.1] => (item=attr)
skipping: [138.68.247.1] => (item=openssl)
changed: [138.68.247.1] => (item=bypass-lan)
skipping: [138.68.247.1] => (item=aes)
skipping: [138.68.247.1] => (item=pkcs8)
changed: [138.68.247.1] => (item=gmp)
changed: [138.68.247.1] => (item=connmark)
changed: [138.68.247.1] => (item=rc2)
skipping: [138.68.247.1] => (item=random)
changed: [138.68.247.1] => (item=counters)
skipping: [138.68.247.1] => (item=kernel-netlink)
skipping: [138.68.247.1] => (item=x509)
skipping: [138.68.247.1] => (item=pgp)

TASK [vpn : Ensure that required plugins are enabled] ******************************************************************
skipping: [138.68.247.1] => (item=eap-mschapv2)
changed: [138.68.247.1] => (item=hmac)
changed: [138.68.247.1] => (item=gcm)
skipping: [138.68.247.1] => (item=dnskey)
skipping: [138.68.247.1] => (item=resolve)
skipping: [138.68.247.1] => (item=constraints)
changed: [138.68.247.1] => (item=nonce)
skipping: [138.68.247.1] => (item=aesni)
changed: [138.68.247.1] => (item=pubkey)
skipping: [138.68.247.1] => (item=md4)
skipping: [138.68.247.1] => (item=fips-prf)
changed: [138.68.247.1] => (item=pkcs12)
changed: [138.68.247.1] => (item=stroke)
changed: [138.68.247.1] => (item=pem)
changed: [138.68.247.1] => (item=sha2)
skipping: [138.68.247.1] => (item=xcbc)
skipping: [138.68.247.1] => (item=updown)
skipping: [138.68.247.1] => (item=sshkey)
skipping: [138.68.247.1] => (item=mgf1)
changed: [138.68.247.1] => (item=pkcs7)
skipping: [138.68.247.1] => (item=sha1)
skipping: [138.68.247.1] => (item=md5)
changed: [138.68.247.1] => (item=revocation)
skipping: [138.68.247.1] => (item=pkcs1)
skipping: [138.68.247.1] => (item=xauth-generic)
changed: [138.68.247.1] => (item=socket-default)
skipping: [138.68.247.1] => (item=agent)
skipping: [138.68.247.1] => (item=attr)
changed: [138.68.247.1] => (item=openssl)
skipping: [138.68.247.1] => (item=bypass-lan)
changed: [138.68.247.1] => (item=aes)
changed: [138.68.247.1] => (item=pkcs8)
skipping: [138.68.247.1] => (item=gmp)
skipping: [138.68.247.1] => (item=connmark)
skipping: [138.68.247.1] => (item=rc2)
changed: [138.68.247.1] => (item=random)
skipping: [138.68.247.1] => (item=counters)
changed: [138.68.247.1] => (item=kernel-netlink)
changed: [138.68.247.1] => (item=x509)
changed: [138.68.247.1] => (item=pgp)

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/openssl.yml for 138.68.247.1

TASK [vpn : Set subjectAltName as a fact] ******************************************************************************
ok: [138.68.247.1 -> localhost]

TASK [vpn : Ensure the pki directory does not exist] *******************************************************************
skipping: [138.68.247.1]

TASK [vpn : Ensure the pki directories exist] **************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ecparams)
changed: [138.68.247.1 -> localhost] => (item=certs)
changed: [138.68.247.1 -> localhost] => (item=crl)
changed: [138.68.247.1 -> localhost] => (item=newcerts)
changed: [138.68.247.1 -> localhost] => (item=private)
changed: [138.68.247.1 -> localhost] => (item=reqs)

TASK [vpn : Ensure the files exist] ************************************************************************************
changed: [138.68.247.1 -> localhost] => (item=.rnd)
changed: [138.68.247.1 -> localhost] => (item=private/.rnd)
changed: [138.68.247.1 -> localhost] => (item=index.txt)
changed: [138.68.247.1 -> localhost] => (item=index.txt.attr)
changed: [138.68.247.1 -> localhost] => (item=serial)

TASK [vpn : Generate the openssl server configs] ***********************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Build the CA pair] *****************************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Copy the CA certificate] ***********************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Generate the serial number] ********************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Build the server pair] *************************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Build the client's pair] ***********************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Build the client's p12] ************************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Copy the p12 certificates] *********************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Get active users] ******************************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Revoke non-existing users] *********************************************************************************
skipping: [138.68.247.1] => (item=ZM)
skipping: [138.68.247.1] => (item=MJ)

TASK [vpn : Genereate new CRL file] ************************************************************************************
skipping: [138.68.247.1]

TASK [vpn : Copy the CRL to the vpn server] ****************************************************************************
skipping: [138.68.247.1]

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/distribute_keys.yml for 138.68.247.1

TASK [vpn : Copy the keys to the strongswan directory] *****************************************************************
changed: [138.68.247.1] => (item={u'dest': u'/etc/ipsec.d/cacerts/ca.crt', u'src': u'configs/138.68.247.1/pki/cacert.pem', u'group': u'root', u'mode': u'0600', u'owner': u'strongswan'})
changed: [138.68.247.1] => (item={u'dest': u'/etc/ipsec.d/certs/138.68.247.1.crt', u'src': u'configs/138.68.247.1/pki/certs/138.68.247.1.crt', u'group': u'root', u'mode': u'0600', u'owner': u'strongswan'})
changed: [138.68.247.1] => (item={u'dest': u'/etc/ipsec.d/private/138.68.247.1.key', u'src': u'configs/138.68.247.1/pki/private/138.68.247.1.key', u'group': u'root', u'mode': u'0600', u'owner': u'strongswan'})

TASK [vpn : include_tasks] *********************************************************************************************
included: /home/administrator/algo-master/roles/vpn/tasks/client_configs.yml for 138.68.247.1

TASK [vpn : Register p12 PayloadContent] *******************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Set facts for mobileconfigs] *******************************************************************************
ok: [138.68.247.1 -> localhost]

TASK [vpn : Build the mobileconfigs] ***********************************************************************************
changed: [138.68.247.1] => (item=None)
changed: [138.68.247.1] => (item=None)

TASK [vpn : Build the client ipsec config file] ************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Build the client ipsec secret file] ************************************************************************
changed: [138.68.247.1 -> localhost] => (item=ZM)
changed: [138.68.247.1 -> localhost] => (item=MJ)

TASK [vpn : Create the windows check file] *****************************************************************************
changed: [138.68.247.1 -> localhost]

TASK [vpn : Check if the windows check file exists] ********************************************************************
ok: [138.68.247.1 -> localhost]

TASK [vpn : Build the windows client powershell script] ****************************************************************
changed: [138.68.247.1 -> localhost] => (item=[u'ZM', {'_ansible_parsed': True, 'stderr_lines': [], u'cmd': u'cat private/ZM.p12 | base64', u'end': u'2018-06-28 12:14:09.473683', '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, '_ansible_item_result': True, u'changed': True, u'stdout': u'MIIEawIBAzCCBDEGCSqGSIb3DQEHAaCCBCIEggQeMIIEGjCCAscGCSqGSIb3DQEHBqCCArgwggK0\nAgEAMIICrQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIglIDZ791DpQCAggAgIICgD2cAk4p\nO2ygpl0uR+Z3eq++yZI82Kk7RZ6C//sjSde9Mt1NhQqbEFrCyOLunPwVW/Qpaoui5BBKB2ZHTK5B\nrS9tliv/GNb/AddCMe+U+Sk6uJlDUysS4qg6vrSGgf9+rIyT+J8iWYIIFhybctH1nZcWiOUhMSqp\nBIOTEzpkNBltEg3aPRuL2ufqDdON4wlAAGSv84t9X4qG0tc7brSLhe8D7IiQm+iahlaV4mYdS7x5\nVb9zqBphqJOONqsgb9JpGgUkvanwyzmrFR9kEM5AW48myGuxRWzMkHd5SrmQQXVN9ouBFnjawG0X\nN9XMNoOhQ1YvPdgaf+rc4mmY8vYgZCYmykc+M8n4IkN+MAvw0mcRHWPAq1q5MuBA8+OfETFok3Iy\nrT2XWAuaNEuWcT5l/I2UatRJOxecB+h92qlingI/1sE9TUDe7v/dJX8fQDq7r+RLaZ9SaaDHx4BH\nNpAZBI9uAYVLu+rljOTDkY74V6vF2/Sd67pz0VdYG1ltZlcMlZasbXvQjVAp7XBehpLTuTVHDU+n\nDJsW0JZg4g2muaSuWEL5Rcq0uBO0hr3ABVg6WQsERZxz90FHp8s/VDb60WJVNDX/juRa0vtcAncB\nyTmwfKo21brmJ1jg8OOV/1OId7cDBGc+e/0D+Qqfhqpeu8WSavJ/Z26MrHtYSdl1foqlbyHHeNJl\nIZsxrvqJqqyzaedJm4VcMm8lTqW3kvGkAB5pg5DZx8+D+s6fqJH0VzCW/VqpyRxyWfdl9MUE0QFB\n+9lYTxxbr/Istqf2GgRZasicKO3ltpQCQG3I15WvBAgAd5pBcf4e6AK/GKlTu4UINUEUAgP6nTgm\nnOYA/4/WPSowggFLBgkqhkiG9w0BBwGgggE8BIIBODCCATQwggEwBgsqhkiG9w0BDAoBAqCB5DCB\n4TAcBgoqhkiG9w0BDAEDMA4ECPQlFUyRhfe1AgIIAASBwP4+VP3weOW8JRg5VFMxOmnbh5FELVNF\nFB3L16CUkpSIBiMRJdcBeDKhh4+ScPc3RnA/Ofm/dmYlBFFwpNTu4nSJxqYCPfbxbvXpFiiIvnH6\n9oqMPH7e00ZJJQy1OMykTxEvivU0jKEQZL/S7xpLB2zRYTUZlGNzx34Cf8ty/UO/HcwyJ1qIdrFR\n3tXBFvs26oemVNPdT7vkQnIi5nc5dERdmEou7XLJGTf5C7Is8i4QECa39oR26KIEG2SN/YRnBjE6\nMBMGCSqGSIb3DQEJFDEGHgQAWgBNMCMGCSqGSIb3DQEJFTEWBBT6eqISq3nx/jvC8RHMIaOKTGy1\nKTAxMCEwCQYFKw4DAhoFAAQU1Fo0VFF9sHjTc0y9VrNYpIaLiI8ECDl2JvTI9qMKAgIIAA==', 'item': u'ZM', u'delta': u'0:00:00.040892', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'chdir': u'configs/138.68.247.1/pki/', u'_raw_params': u'cat private/ZM.p12 | base64', u'removes': None, u'creates': None, u'_uses_shell': True, u'stdin': None}}, 'stdout_lines': [u'MIIEawIBAzCCBDEGCSqGSIb3DQEHAaCCBCIEggQeMIIEGjCCAscGCSqGSIb3DQEHBqCCArgwggK0', u'AgEAMIICrQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIglIDZ791DpQCAggAgIICgD2cAk4p', u'O2ygpl0uR+Z3eq++yZI82Kk7RZ6C//sjSde9Mt1NhQqbEFrCyOLunPwVW/Qpaoui5BBKB2ZHTK5B', u'rS9tliv/GNb/AddCMe+U+Sk6uJlDUysS4qg6vrSGgf9+rIyT+J8iWYIIFhybctH1nZcWiOUhMSqp', u'BIOTEzpkNBltEg3aPRuL2ufqDdON4wlAAGSv84t9X4qG0tc7brSLhe8D7IiQm+iahlaV4mYdS7x5', u'Vb9zqBphqJOONqsgb9JpGgUkvanwyzmrFR9kEM5AW48myGuxRWzMkHd5SrmQQXVN9ouBFnjawG0X', u'N9XMNoOhQ1YvPdgaf+rc4mmY8vYgZCYmykc+M8n4IkN+MAvw0mcRHWPAq1q5MuBA8+OfETFok3Iy', u'rT2XWAuaNEuWcT5l/I2UatRJOxecB+h92qlingI/1sE9TUDe7v/dJX8fQDq7r+RLaZ9SaaDHx4BH', u'NpAZBI9uAYVLu+rljOTDkY74V6vF2/Sd67pz0VdYG1ltZlcMlZasbXvQjVAp7XBehpLTuTVHDU+n', u'DJsW0JZg4g2muaSuWEL5Rcq0uBO0hr3ABVg6WQsERZxz90FHp8s/VDb60WJVNDX/juRa0vtcAncB', u'yTmwfKo21brmJ1jg8OOV/1OId7cDBGc+e/0D+Qqfhqpeu8WSavJ/Z26MrHtYSdl1foqlbyHHeNJl', u'IZsxrvqJqqyzaedJm4VcMm8lTqW3kvGkAB5pg5DZx8+D+s6fqJH0VzCW/VqpyRxyWfdl9MUE0QFB', u'+9lYTxxbr/Istqf2GgRZasicKO3ltpQCQG3I15WvBAgAd5pBcf4e6AK/GKlTu4UINUEUAgP6nTgm', u'nOYA/4/WPSowggFLBgkqhkiG9w0BBwGgggE8BIIBODCCATQwggEwBgsqhkiG9w0BDAoBAqCB5DCB', u'4TAcBgoqhkiG9w0BDAEDMA4ECPQlFUyRhfe1AgIIAASBwP4+VP3weOW8JRg5VFMxOmnbh5FELVNF', u'FB3L16CUkpSIBiMRJdcBeDKhh4+ScPc3RnA/Ofm/dmYlBFFwpNTu4nSJxqYCPfbxbvXpFiiIvnH6', u'9oqMPH7e00ZJJQy1OMykTxEvivU0jKEQZL/S7xpLB2zRYTUZlGNzx34Cf8ty/UO/HcwyJ1qIdrFR', u'3tXBFvs26oemVNPdT7vkQnIi5nc5dERdmEou7XLJGTf5C7Is8i4QECa39oR26KIEG2SN/YRnBjE6', u'MBMGCSqGSIb3DQEJFDEGHgQAWgBNMCMGCSqGSIb3DQEJFTEWBBT6eqISq3nx/jvC8RHMIaOKTGy1', u'KTAxMCEwCQYFKw4DAhoFAAQU1Fo0VFF9sHjTc0y9VrNYpIaLiI8ECDl2JvTI9qMKAgIIAA=='], u'start': u'2018-06-28 12:14:09.432791', '_ansible_ignore_errors': None, 'failed': False}])
changed: [138.68.247.1 -> localhost] => (item=[u'MJ', {'_ansible_parsed': True, 'stderr_lines': [], u'cmd': u'cat private/MJ.p12 | base64', u'end': u'2018-06-28 12:14:10.346426', '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, '_ansible_item_result': True, u'changed': True, u'stdout': u'MIIEawIBAzCCBDEGCSqGSIb3DQEHAaCCBCIEggQeMIIEGjCCAscGCSqGSIb3DQEHBqCCArgwggK0\nAgEAMIICrQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQI9srJ38C5y4MCAggAgIICgC8GcHjv\nKlEqXzqbTGBWGLhXY7BDRk7WYzuO4RnWAi/XUUfVaoM2PT++UbcSc2s2SZJr3O1WZ/2sdxLzJwg1\nBG4dvTlAGn33T3YUZWh9Ezhp0ebWtIJLgMThTD/Ou8HZaZEeh/VLtzn3gAg9+Tw7R3Tje7kI6J+M\nc43OdtTTLKA6ZcQFvZm3V0dRUQ/szkJb2aKFUJZDDBS+Rd/RKuw398IaLs0cMfVXQqlhoSkBZMrD\naP6xDs9CQYBd599Ai24UgASh6s6rjsSrbMclkzSLmKFrWUqebsnfQQbNmbWDECW9i50mLnWGnCGd\nh5czWo6S4MbAz7gGJO2ZNMAsocFV/QTiaIPkHa0cOVBi0yYg25hwkrY2xea11W4y03YpACNrzsha\nGr3m6ymylRu9YRwzafmFu7VYOdjXNsvcZc2Mu83tQyclZOvkofHLC3pVMjwFLbkm5qi24XCCNTDw\nh3xUyFiToXU3Gby74Ao4JZo/rHzsa74mq1K7aEee3rJ+Xh38FxKwup8vhQSo2FyGuss01/x/INZV\nf6NKaCpSEexczEhLMwl0S0HIwzHTXEP5iwIerR5DwOA6HRWK4wDHeZ9V1x6P+88PRtiD0Z/iQ3te\n4zQk3mrySKSeoD583rXliED7aX+kwFkj1JY9bFTaGJlQp9wbJVbFb4RiXSGHYZit1Y3wurmBSc7T\nOyHp1oZeWO0FPFayg2SturjIt9uyGFDCAOztrt5YSEmhAdCI8MGWYWnyZ48vxIgD5wnrpAn/VjWm\nubpNo5ljr6mo2jGBzfppAyz7WLpr+8KVVgegv1h0FiqyThSIZm43yXe8XNUwi8sXnnbNQ2GEiEqK\npluMTOB4l9owggFLBgkqhkiG9w0BBwGgggE8BIIBODCCATQwggEwBgsqhkiG9w0BDAoBAqCB5DCB\n4TAcBgoqhkiG9w0BDAEDMA4ECCEFIfkCfGzrAgIIAASBwO8UkuD0710178g33qX1TcZIBsNORnaz\nbOOmMoYObZCn9VYqvZs6vgzadcQggvmM+IVmtJjhXCjFEF+X3FrfDFz+azvUunvcXFfRP6tof5sq\nAhPOrZlbUdByNB1jTDhzV3V6w0TsYT827A/fnhsmigkuosdNHH0FhnK/7COLc4KfPVIpR1jhyvmj\n6vtUngVyjAyo/lHP5INmmBqifo4OlhMiLFrs+lvcC2eEogFwuEbylrx5gJop8tOWmb2j+Y2mEDE6\nMBMGCSqGSIb3DQEJFDEGHgQATQBKMCMGCSqGSIb3DQEJFTEWBBRs/NFSEMj6J/RBBgRY36UPd6av\n2zAxMCEwCQYFKw4DAhoFAAQUD8mtsVDS+mNxUAtI624ociD3Z8gECAnf5oDkLWFiAgIIAA==', 'item': u'MJ', u'delta': u'0:00:00.031320', u'stderr': u'', u'rc': 0, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'chdir': u'configs/138.68.247.1/pki/', u'_raw_params': u'cat private/MJ.p12 | base64', u'removes': None, u'creates': None, u'_uses_shell': True, u'stdin': None}}, 'stdout_lines': [u'MIIEawIBAzCCBDEGCSqGSIb3DQEHAaCCBCIEggQeMIIEGjCCAscGCSqGSIb3DQEHBqCCArgwggK0', u'AgEAMIICrQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQI9srJ38C5y4MCAggAgIICgC8GcHjv', u'KlEqXzqbTGBWGLhXY7BDRk7WYzuO4RnWAi/XUUfVaoM2PT++UbcSc2s2SZJr3O1WZ/2sdxLzJwg1', u'BG4dvTlAGn33T3YUZWh9Ezhp0ebWtIJLgMThTD/Ou8HZaZEeh/VLtzn3gAg9+Tw7R3Tje7kI6J+M', u'c43OdtTTLKA6ZcQFvZm3V0dRUQ/szkJb2aKFUJZDDBS+Rd/RKuw398IaLs0cMfVXQqlhoSkBZMrD', u'aP6xDs9CQYBd599Ai24UgASh6s6rjsSrbMclkzSLmKFrWUqebsnfQQbNmbWDECW9i50mLnWGnCGd', u'h5czWo6S4MbAz7gGJO2ZNMAsocFV/QTiaIPkHa0cOVBi0yYg25hwkrY2xea11W4y03YpACNrzsha', u'Gr3m6ymylRu9YRwzafmFu7VYOdjXNsvcZc2Mu83tQyclZOvkofHLC3pVMjwFLbkm5qi24XCCNTDw', u'h3xUyFiToXU3Gby74Ao4JZo/rHzsa74mq1K7aEee3rJ+Xh38FxKwup8vhQSo2FyGuss01/x/INZV', u'f6NKaCpSEexczEhLMwl0S0HIwzHTXEP5iwIerR5DwOA6HRWK4wDHeZ9V1x6P+88PRtiD0Z/iQ3te', u'4zQk3mrySKSeoD583rXliED7aX+kwFkj1JY9bFTaGJlQp9wbJVbFb4RiXSGHYZit1Y3wurmBSc7T', u'OyHp1oZeWO0FPFayg2SturjIt9uyGFDCAOztrt5YSEmhAdCI8MGWYWnyZ48vxIgD5wnrpAn/VjWm', u'ubpNo5ljr6mo2jGBzfppAyz7WLpr+8KVVgegv1h0FiqyThSIZm43yXe8XNUwi8sXnnbNQ2GEiEqK', u'pluMTOB4l9owggFLBgkqhkiG9w0BBwGgggE8BIIBODCCATQwggEwBgsqhkiG9w0BDAoBAqCB5DCB', u'4TAcBgoqhkiG9w0BDAEDMA4ECCEFIfkCfGzrAgIIAASBwO8UkuD0710178g33qX1TcZIBsNORnaz', u'bOOmMoYObZCn9VYqvZs6vgzadcQggvmM+IVmtJjhXCjFEF+X3FrfDFz+azvUunvcXFfRP6tof5sq', u'AhPOrZlbUdByNB1jTDhzV3V6w0TsYT827A/fnhsmigkuosdNHH0FhnK/7COLc4KfPVIpR1jhyvmj', u'6vtUngVyjAyo/lHP5INmmBqifo4OlhMiLFrs+lvcC2eEogFwuEbylrx5gJop8tOWmb2j+Y2mEDE6', u'MBMGCSqGSIb3DQEJFDEGHgQATQBKMCMGCSqGSIb3DQEJFTEWBBRs/NFSEMj6J/RBBgRY36UPd6av', u'2zAxMCEwCQYFKw4DAhoFAAQUD8mtsVDS+mNxUAtI624ociD3Z8gECAnf5oDkLWFiAgIIAA=='], u'start': u'2018-06-28 12:14:10.315106', '_ansible_ignore_errors': None, 'failed': False}])

TASK [vpn : Restrict permissions for the local private directories] ****************************************************
changed: [138.68.247.1 -> localhost] => (item=configs/138.68.247.1)

RUNNING HANDLER [dns_adblocking : restart apparmor] ********************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [vpn : restart strongswan] *****************************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [vpn : daemon-reload] **********************************************************************************
changed: [138.68.247.1]

RUNNING HANDLER [vpn : restart iptables] *******************************************************************************
changed: [138.68.247.1]

TASK [vpn : strongSwan started] ****************************************************************************************
ok: [138.68.247.1]

TASK [debug] ***********************************************************************************************************
ok: [138.68.247.1] => {
    "msg": [
        [
            "\"#                          Congratulations!                            #\"",
            "\"#                     Your Algo server is running.                     #\"",
            "\"#    Config files and certificates are in the ./configs/ directory.    #\"",
            "\"#              Go to https://whoer.net/ after connecting               #\"",
            "\"#        and ensure that all your traffic passes through the VPN.      #\"",
            "\"#               Local DNS resolver 172.16.0.1              #\"",
            ""
        ],
        "    \"#                The p12 and SSH keys password for new users is EKC3mzNX             #\"\n",
        "    \"#                  The CA key password is be874cef5e8dbca63fd43e05da109ea2                 #\"\n",
        "    \"#      Shell access: ssh -i configs/algo.pem root@138.68.247.1        #\"\n"
    ]
}

TASK [Delete the CA key] ***********************************************************************************************
skipping: [138.68.247.1]

PLAY RECAP *************************************************************************************************************
138.68.247.1               : ok=132  changed=94   unreachable=0    failed=0
localhost                  : ok=23   changed=5    unreachable=0    failed=0
jackivanov commented 6 years ago

Run the following command: powershell -ExecutionPolicy ByPass -File C:\path\to\windows_USER.ps1 -Add

So, you need to provide the logs of this command

ZMadding commented 6 years ago

PowerShell and Linux newb here, just following the "How to" on PCWorld.com as best I can. Spent most of yesterday working on this and now I'm feeling stubborn. If you have the time to explain the steps, I would be tremendously grateful.

jackivanov commented 6 years ago

Use gitter for this kind of question, please