|
|
|
|
@ -108,7 +108,7 @@ echo "Setting up firewall (iptables)"
@@ -108,7 +108,7 @@ echo "Setting up firewall (iptables)"
|
|
|
|
|
if [ -f "/etc/iptables/rules.v4" ]; then |
|
|
|
|
echo "Caution: iptables rules exist." |
|
|
|
|
|
|
|
|
|
read -p "Would you like to Clear (C) existing iptables rules or Add (A) to existing rules (this may cause problems)? [c/a]" MISTBORN_IPTABLES_ACTION |
|
|
|
|
read -p "Would you like to Clear (C) existing iptables rules or Add (A) to existing rules (this may cause problems)? [c/a] " MISTBORN_IPTABLES_ACTION |
|
|
|
|
echo |
|
|
|
|
|
|
|
|
|
if [[ "${MISTBORN_IPTABLES_ACTION}" =~ ^([cC])$ ]]; then |
|
|
|
|
|