From 6ee8852a6759d5c4c1a3e0aed28ffd5b0cdb7333 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Wed, 29 Jun 2016 21:28:20 -0400 Subject: [PATCH] removed apt installing iptables-persistent, now manually adding it --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9f97699e..d8f3514a 100755 --- a/install.sh +++ b/install.sh @@ -13,10 +13,8 @@ if [[ $EUID -ne 0 ]]; then echo exit fi -echo iptables-persistent iptables-persistent/autosave_v4 boolean false | debconf-set-selections -echo iptables-persistent iptables-persistent/autosave_v6 boolean false | debconf-set-selections apt-get update -apt-get install -y ipset dialog iptables-persistent +apt-get install -y ipset dialog cp conf/iptables-persistent /etc/init.d/iptables-persistent ipset create blacklist hash:net iptables -I INPUT -m set --match-set blacklist src -j DROP