Browse Source

Create missing FWBAD chain

Edvinas Valatka 8 years ago
parent
commit
9b96ea79a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      e-router

+ 1 - 0
e-router

@@ -173,6 +173,7 @@ lan() {
 
 badips() {
     ipset create -! $banset hash:ip hashsize 4096 timeout $banttl  maxelem $badmaxelems
+    ${iptables} -N FWBAD
     if $logbad ; then
         _droplog "BAD"
         ${iptables} -A FWBAD -i ${wan} -p udp -m set --match-set $banset src -m conntrack --ctstate NEW --ctproto UDP -j BADLOGDROP