2016-07-11 21:51:31 +00:00
|
|
|
---
|
|
|
|
|
2017-04-01 04:19:10 +00:00
|
|
|
# Add as many users as you want for your VPN server here.
|
2017-04-05 18:31:31 +00:00
|
|
|
# Credentials will be generated for each one.
|
2016-08-24 07:30:33 +00:00
|
|
|
users:
|
|
|
|
- dan
|
|
|
|
- jack
|
|
|
|
|
2017-04-05 18:31:31 +00:00
|
|
|
# NOTE: If your usernames have leading 0's, like "000dan", you have to escape them
|
2016-08-24 07:30:33 +00:00
|
|
|
|
|
|
|
### Advanced users only below this line ###
|
|
|
|
|
2016-08-04 19:58:29 +00:00
|
|
|
# If True re-init all existing certificates. (True or False)
|
|
|
|
easyrsa_reinit_existent: False
|
2016-07-11 21:51:31 +00:00
|
|
|
|
2016-08-04 19:58:29 +00:00
|
|
|
vpn_network: 10.19.48.0/24
|
2017-03-05 18:33:01 +00:00
|
|
|
vpn_network_ipv6: 'fd9d:bc11:4020::/48'
|
|
|
|
|
2016-08-04 19:58:29 +00:00
|
|
|
server_name: "{{ ansible_ssh_host }}"
|
2016-08-18 09:17:46 +00:00
|
|
|
IP_subject_alt_name: "{{ ansible_ssh_host }}"
|
2016-08-04 19:58:29 +00:00
|
|
|
|
2017-10-19 14:06:43 +00:00
|
|
|
# StrongSwan log level
|
|
|
|
# https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration
|
|
|
|
strongswan_log_level: 2
|
|
|
|
|
2017-05-15 10:39:34 +00:00
|
|
|
adblock_lists:
|
|
|
|
- "http://winhelp2002.mvps.org/hosts.txt"
|
|
|
|
- "https://adaway.org/hosts.txt"
|
|
|
|
- "https://www.malwaredomainlist.com/hostslist/hosts.txt"
|
|
|
|
- "https://hosts-file.net/ad_servers.txt"
|
|
|
|
|
2018-05-09 20:14:31 +00:00
|
|
|
# Enable DNS encryption. Use dns_encryption_provider to specify the provider. If false dns_servers should be specified
|
2018-04-25 19:27:58 +00:00
|
|
|
dns_encryption: true
|
|
|
|
|
|
|
|
# Possible values: google, cloudflare
|
|
|
|
dns_encryption_provider: cloudflare
|
|
|
|
|
|
|
|
# DNS servers which will be used if dns_encryption disabled
|
2016-07-31 11:24:56 +00:00
|
|
|
dns_servers:
|
2016-12-12 15:52:34 +00:00
|
|
|
ipv4:
|
2018-04-25 19:27:58 +00:00
|
|
|
- 1.1.1.1
|
|
|
|
- 1.0.0.1
|
2016-12-12 15:52:34 +00:00
|
|
|
ipv6:
|
2018-04-25 19:27:58 +00:00
|
|
|
- 2606:4700:4700::1111
|
|
|
|
- 2606:4700:4700::1001
|
2016-07-11 21:51:31 +00:00
|
|
|
|
2017-04-20 22:00:17 +00:00
|
|
|
# IP address for the local dns resolver
|
2016-08-24 07:30:33 +00:00
|
|
|
local_service_ip: 172.16.0.1
|
2016-12-06 17:14:08 +00:00
|
|
|
|
|
|
|
pkcs12_PayloadCertificateUUID: "{{ 900000 | random | to_uuid | upper }}"
|
|
|
|
VPN_PayloadIdentifier: "{{ 800000 | random | to_uuid | upper }}"
|
|
|
|
CA_PayloadIdentifier: "{{ 700000 | random | to_uuid | upper }}"
|
2016-12-14 15:49:47 +00:00
|
|
|
|
2016-12-16 19:30:07 +00:00
|
|
|
# Block traffic between connected clients
|
|
|
|
BetweenClients_DROP: Y
|
|
|
|
|
2017-02-14 17:25:56 +00:00
|
|
|
congrats:
|
|
|
|
common: |
|
|
|
|
"# 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. #"
|
2017-04-20 22:00:17 +00:00
|
|
|
"# Local DNS resolver {{ local_service_ip }} #"
|
2017-02-14 17:25:56 +00:00
|
|
|
p12_pass: |
|
2017-06-04 16:18:55 +00:00
|
|
|
"# The p12 and SSH keys password for new users is {{ easyrsa_p12_export_password }} #"
|
2017-02-14 17:25:56 +00:00
|
|
|
ca_key_pass: |
|
|
|
|
"# The CA key password is {{ easyrsa_CA_password }} #"
|
|
|
|
ssh_access: |
|
|
|
|
"# Shell access: ssh -i {{ ansible_ssh_private_key_file|default(omit) }} {{ ansible_ssh_user|default(omit) }}@{{ ansible_ssh_host|default(omit) }} #"
|
2017-01-11 17:55:07 +00:00
|
|
|
|
2016-12-12 19:02:45 +00:00
|
|
|
SSH_keys:
|
|
|
|
comment: algo@ssh
|
|
|
|
private: configs/algo.pem
|
|
|
|
public: configs/algo.pem.pub
|
2017-03-05 20:19:15 +00:00
|
|
|
|
2017-04-16 14:19:47 +00:00
|
|
|
cloud_providers:
|
|
|
|
azure:
|
|
|
|
size: Basic_A0
|
2017-04-22 21:06:10 +00:00
|
|
|
image:
|
|
|
|
offer: UbuntuServer
|
|
|
|
publisher: Canonical
|
2018-05-24 14:08:14 +00:00
|
|
|
sku: '18.04-LTS'
|
2017-04-22 21:06:10 +00:00
|
|
|
version: latest
|
2017-04-16 14:19:47 +00:00
|
|
|
digitalocean:
|
2018-01-27 20:02:00 +00:00
|
|
|
size: s-1vcpu-1gb
|
2018-05-24 14:08:14 +00:00
|
|
|
image: "ubuntu-18-04-x64"
|
2017-04-16 14:19:47 +00:00
|
|
|
ec2:
|
|
|
|
size: t2.micro
|
2017-04-22 21:06:10 +00:00
|
|
|
image:
|
2018-05-24 14:08:14 +00:00
|
|
|
name: "ubuntu-bionic-18.04"
|
2017-04-22 21:06:10 +00:00
|
|
|
owner: "099720109477"
|
2017-04-16 14:19:47 +00:00
|
|
|
gce:
|
|
|
|
size: f1-micro
|
2018-05-24 14:08:14 +00:00
|
|
|
image: ubuntu-1804
|
2018-03-02 12:55:54 +00:00
|
|
|
lightsail:
|
|
|
|
size: nano_1_0
|
|
|
|
image: ubuntu_16_04
|
|
|
|
scaleway:
|
2018-05-24 14:08:14 +00:00
|
|
|
size: START1-S
|
|
|
|
image: Ubuntu Bionic Beaver
|
2018-03-02 12:55:54 +00:00
|
|
|
arch: x86_64
|
|
|
|
openstack:
|
|
|
|
flavor_ram: ">=512"
|
2018-05-24 14:08:14 +00:00
|
|
|
image: Ubuntu-18.04
|
2017-04-16 14:19:47 +00:00
|
|
|
local:
|
2017-04-29 14:48:25 +00:00
|
|
|
|
|
|
|
fail_hint:
|
|
|
|
- Sorry, but something went wrong!
|
|
|
|
- Please check the troubleshooting guide.
|
|
|
|
- https://trailofbits.github.io/algo/troubleshooting.html
|