mirror of
https://github.com/trailofbits/algo.git
synced 2026-09-13 05:07:46 +02:00
disable the proxy and client-to-client options
This commit is contained in:
@@ -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 () {
|
||||
|
||||
@@ -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! #"
|
||||
|
||||
Reference in New Issue
Block a user