Hello Dear MikroTIKers!
I would like to do this: i see that, a lot of ppl try to get in, when watching the logs, with ports for SMB and SSH and stuff like that, like port scanners.
I implemented a port scanner, what a mikrotik teacher put online, but when i tested with a portsscan.exe and from kali linux nmap, it worked like a charm, but in real life its not getting anything and i see a lot of packets get stuck at my sbl spamhaus,sbl-malicious drop list. This made me think theese port scanners are 1.) really slow and my config doesnt gives a fuck about it or 2.)something totally else and i dont know about it yet.
So because the portscanner works in LABS,but not real life, i put in sbl blocklist,sblspamhaus,sbl malicious,etc in a scheduled thingy and import it and i have firewall rules with
input adresslist:sbl-spamhaus action:drop (and i have this for all the lists)
So, this are a lot of rules and i have two questions:
first is: how to achieve, that when importing theese files, the ADDRESS LIST names become the same (lets say i import sbl spamhaus it gets imported with an address list name BADIP, and than sbl malicious gets imported, smae name, BADIP), so i dont have to make a lot of fokin rules, for every address list name an input drop rule seems to be too much for me.
second question: i do drop input for theese bad guys, the reason i’d like to have ONE name for the bad ip-s, is that, i’d like to make rules for FORWARD CHAIN like this:
forward action:allow in-interface:myLANinterface src-address:mysubnet dst-addresslist: !BADIP
so with this rule i could stop all the clients to reach thoose bad guys server and stuff on it, but all the forums i see, there is only INPUT rules, when blocking things like,spamhaus etc, would it be a good idea to tell the clients fw rule,not to go to the bad guys house?
thank you in advance!