From: Michael Tremer Date: Fri, 21 Feb 2014 10:35:05 +0000 (+0100) Subject: firewall: Remove even more redundant rules. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=c2f7250b231494ad2bbfd24c5d40cb08285e131d firewall: Remove even more redundant rules. --- diff --git a/src/initscripts/init.d/firewall b/src/initscripts/init.d/firewall index 2b3b91cef..ddc4a4a28 100644 --- a/src/initscripts/init.d/firewall +++ b/src/initscripts/init.d/firewall @@ -230,14 +230,6 @@ iptables_init() { # read new firewall /usr/local/bin/firewallctrl - - if [ "$DROPINPUT" == "on" ]; then - iptables -A INPUT -m limit --limit 10/minute -j LOG --log-prefix "DROP_INPUT" - fi - iptables -A INPUT -j DROP -m comment --comment "DROP_INPUT" - if [ "$DROPFORWARD" == "on" ]; then - iptables -A FORWARD -m limit --limit 10/minute -j LOG --log-prefix "DROP_FORWARD" - fi } iptables_red() {