2016-07-11 21:51:31 +00:00
|
|
|
---
|
|
|
|
|
2016-08-24 07:30:33 +00:00
|
|
|
# Add as many users as you want for your VPN server here
|
|
|
|
users:
|
|
|
|
- dan
|
|
|
|
- jack
|
|
|
|
|
2016-10-28 19:48:28 +00:00
|
|
|
# Add an email address to send logs if you're using auditd for monitoring.
|
|
|
|
# Avoid using '+' in your email address otherwise auditd will fail to start.
|
2016-08-24 07:30:33 +00:00
|
|
|
auditd_action_mail_acct: email@example.com
|
|
|
|
|
|
|
|
### Advanced users only below this line ###
|
|
|
|
|
2016-07-11 21:51:31 +00:00
|
|
|
easyrsa_dir: /opt/easy-rsa-ipsec
|
|
|
|
easyrsa_ca_expire: 3650
|
|
|
|
easyrsa_cert_expire: 3650
|
|
|
|
|
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
|
2016-08-20 13:36:33 +00:00
|
|
|
vpn_network_ipv6: 'fd9d:bc11:4020::/48'
|
|
|
|
# https://www.sixxs.net/tools/whois/?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
|
|
|
|
2016-07-31 11:24:56 +00:00
|
|
|
dns_servers:
|
2016-12-12 15:52:34 +00:00
|
|
|
ipv4:
|
|
|
|
- 8.8.8.8
|
|
|
|
- 8.8.4.4
|
|
|
|
ipv6:
|
|
|
|
- 2001:4860:4860::8888
|
|
|
|
- 2001:4860:4860::8844
|
2016-07-11 21:51:31 +00:00
|
|
|
|
2016-10-10 12:42:32 +00:00
|
|
|
strongswan_enabled_plugins:
|
|
|
|
- aes
|
|
|
|
- gcm
|
|
|
|
- hmac
|
|
|
|
- kernel-netlink
|
|
|
|
- nonce
|
|
|
|
- openssl
|
|
|
|
- pem
|
|
|
|
- pgp
|
|
|
|
- pkcs12
|
|
|
|
- pkcs7
|
|
|
|
- pkcs8
|
|
|
|
- pubkey
|
|
|
|
- random
|
|
|
|
- revocation
|
|
|
|
- sha2
|
|
|
|
- socket-default
|
|
|
|
- stroke
|
|
|
|
- x509
|
|
|
|
|
2016-10-16 16:24:04 +00:00
|
|
|
ec2_vpc_nets:
|
|
|
|
cidr_block: 172.251.0.0/23
|
|
|
|
subnet_cidr: 172.251.1.0/24
|
|
|
|
|
2016-08-24 07:30:33 +00:00
|
|
|
# IP address for the proxy and the local dns resolver
|
|
|
|
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
|
|
|
|
|
2016-12-14 15:49:47 +00:00
|
|
|
congrats: |
|
|
|
|
"#----------------------------------------------------------------------#"
|
|
|
|
"# 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. #"
|
2016-12-15 10:33:29 +00:00
|
|
|
"# Local DNS resolver and Proxy IP address: {{ local_service_ip }} "
|
|
|
|
"# The p12 password is {{ easyrsa_p12_export_password }} "
|
|
|
|
"# The CA key password is {{ easyrsa_CA_password }} "
|
2016-12-14 15:49:47 +00:00
|
|
|
"#----------------------------------------------------------------------#"
|
2016-12-12 19:02:45 +00:00
|
|
|
|
|
|
|
SSH_keys:
|
|
|
|
comment: algo@ssh
|
|
|
|
private: configs/algo.pem
|
|
|
|
public: configs/algo.pem.pub
|