Skip to content

Instantly share code, notes, and snippets.

@arbabnazar
Last active August 29, 2015 14:27
Show Gist options
  • Save arbabnazar/0ecd6f55f0c81bd9d740 to your computer and use it in GitHub Desktop.
Save arbabnazar/0ecd6f55f0c81bd9d740 to your computer and use it in GitHub Desktop.
---
openvpn_key_country: "PK"
openvpn_key_province: "Punjab"
openvpn_key_city: "Lahore"
openvpn_key_org: "Tendo Pvt ltd"
openvpn_key_ou: "IT Department"
openvpn_days_valid: "1825"
openssl_request_subject: "/C={{ openvpn_key_country }}/ST={{ openvpn_key_province }}/L={{ openvpn_key_city }}/O={{ openvpn_key_org }}/OU={{ openvpn_key_ou }}"
openvpn_key_size: "2048"
openvpn_cipher: "BF-CBC"
openvpn_auth_digest: "SHA1"
openvpn_path: "/etc/openvpn"
openvpn_ca: "{{ openvpn_path }}/ca"
openvpn_dhparam: "{{ openvpn_path }}/dh{{ openvpn_key_size }}.pem"
openvpn_hmac_firewall: "{{ openvpn_path }}/ta.key"
openvpn_server: "tendo.local"
openvpn_port: "1194"
openvpn_protocol: "udp"
# It assume that the subnet mask is /24
openvpn_network: "10.8.0.0"
# Private Subnet(s) in VPC that you want to reach through OPENVPN, it assume that the subnet mask is /24
private_networks:
- 10.10.20.0
- 10.10.30.0
# Please mentioned the clients' name at this location
openvpn_clients:
- laptop
- phone
- table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment