disable the proxy and client-to-client options

This commit is contained in:
Jack Ivanov 2016-12-16 22:30:07 +03:00
parent abf94989fc
commit efb78e27d4
2 changed files with 4 additions and 12 deletions

12
algo
View file

@ -11,12 +11,6 @@ Do you want to apply security enhancements?
security_enabled=${security_enabled:-n}
if [[ "$security_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" security"; fi
read -p "
Do you want to install an HTTP proxy to block ads and decrease traffic usage while surfing?
[y/N]: " -r proxy_enabled
proxy_enabled=${proxy_enabled:-n}
if [[ "$proxy_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" proxy"; fi
read -p "
Do you want to install a local DNS resolver to block ads while surfing?
[y/N]: " -r dns_enabled
@ -61,12 +55,6 @@ Do you want to enable VPN for Windows 10 clients? (Will use insecure algorithms
Win10_Enabled=${Win10_Enabled:-n}
if [[ "$Win10_Enabled" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Win10_Enabled=Y"; fi
read -p "
Do you want to block client-to-client traffic?
[y/N]: " -r BetweenClients_DROP
BetweenClients_DROP=${BetweenClients_DROP:-n}
if [[ "$BetweenClients_DROP" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" BetweenClients_DROP=Y"; fi
}
deploy () {

View file

@ -63,6 +63,10 @@ pkcs12_PayloadCertificateUUID: "{{ 900000 | random | to_uuid | upper }}"
VPN_PayloadIdentifier: "{{ 800000 | random | to_uuid | upper }}"
CA_PayloadIdentifier: "{{ 700000 | random | to_uuid | upper }}"
# Block traffic between connected clients
BetweenClients_DROP: Y
congrats: |
"#----------------------------------------------------------------------#"
"# Congratulations! #"