mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
firewall: Remove even more redundant rules.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user