I have a question aboute a firewall rule. In the Mikrotik Wiki ist a manual for a FTP Bruteforce login pervention https://wiki.mikrotik.com/wiki/Bruteforce_login_prevention
This manual ist for the input cain but i want to secure a FTP server behind the Mikrotik whit this rule thats why i changed all the rules to forward but it doesen’t work. Here is my config.
Here is how its work:
When some tries to FTP to you, the bottom rules hits inn.
It will add the IP to an temporary access-list ftp_stage1 and it stays there for 5 min.
2 attempt
If the user tries again, second rule from bottom will run, since IP is in access-list ftp_stage1
This will then add user to access-list ftp_stage2 and it stays there for 5 min.
3 attempt
If the user tries again, third rule from bottom will run, since IP is in access-list ftp_stage2
This will then add user to access-list black_list_ftp and it stays there for 1 day.
4 attempt
Top rule will hit since IP is in access-list black_list_ftp and user will not be able to log inn.
This is a simple way to do it. It works.
You can add more steps, change timers.