diff --git a/algo b/algo index d7d78e7..0c4f066 100755 --- a/algo +++ b/algo @@ -137,6 +137,7 @@ Enter the number of your desired region: digitalocean () { read -p " Enter your API token (https://cloud.digitalocean.com/settings/api/tokens): +[pasted values will not be displayed] : " -rs do_access_token read -p " @@ -185,11 +186,13 @@ ec2 () { read -p " Enter your aws_access_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html) Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached +[pasted values will not be displayed] [AKIA...]: " -rs aws_access_key read -p " Enter your aws_secret_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html) Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached +[pasted values will not be displayed] [ABCD...]: " -rs aws_secret_key read -p " diff --git a/config.cfg b/config.cfg index 7a0bc3d..297565d 100644 --- a/config.cfg +++ b/config.cfg @@ -74,9 +74,10 @@ congrats: | "# 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 and Proxy IP address: {{ local_service_ip }} " - "# The p12 password is {{ easyrsa_p12_export_password }} " - "# The CA key password is {{ easyrsa_CA_password }} " + "# 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 }} #" + "# Shell access: ssh -i algo.pem root@{{ ansible_ssh_host }} #" "#----------------------------------------------------------------------#" SSH_keys: diff --git a/roles/vpn/templates/mobileconfig.j2 b/roles/vpn/templates/mobileconfig.j2 index 1ccb037..c118e5f 100644 --- a/roles/vpn/templates/mobileconfig.j2 +++ b/roles/vpn/templates/mobileconfig.j2 @@ -138,9 +138,9 @@ UserDefinedName {% if proxy_enabled is defined and proxy_enabled == true %} - {{ IP_subject_alt_name }} IKEv2 with proxy + Algo VPN {{ IP_subject_alt_name }} IKEv2 with proxy {% else %} - {{ IP_subject_alt_name }} IKEv2 + Algo VPN {{ IP_subject_alt_name }} IKEv2 {% endif %} VPNType IKEv2