Page 1 of 1

Router security using firewall rule

Posted: Wed Oct 31, 2018 11:29 pm
by Jahir
I'm using as follows firewall rules for secure my router. I want to more security. So I wants to which IP login to my router more then 3 or 3 times this IP will block for 1 day. How can I do this?
0 chain=input action=accept protocol=icmp src-address-list=!Hacker log=no
log-prefix=""

1 chain=input action=add-src-to-address-list protocol=tcp address-list=Hacker
address-list-timeout=5m dst-port=22,23,8080,80,8291 log=no log-prefix=""

2 chain=input action=drop src-address-list=Hacker

Re: Router security using firewall rule

Posted: Thu Nov 01, 2018 7:23 am
by Sarel0092

Re: Router security using firewall rule

Posted: Mon Nov 05, 2018 3:53 pm
by anav
Step A, Create list
Step B. In input chain add to list
Step C. in Raw, drop list.