Community discussions

MikroTik App
 
TicToc
just joined
Topic Author
Posts: 10
Joined: Mon Nov 02, 2015 4:22 am

badhosts blocking

Thu Oct 07, 2021 2:55 am

Hey there,

i am still pretty new to the whole mikrotik game, though having made my experiences with IPTables many moons ago certainly helped.
Many of you fine people are probably familiar with OpenBSD and it`s own packet filter, simply called pf.

There is a very well written script called pf-badhost.sh that pulls IP adresses from various trusted sources to block common bruterforcers, botnets and other annoyances.
(inbound and/or outbound)
My question is, if something similar exists for Mikrotik that achieves more or less the same?

Basically fetching "bad IPv4s" from sourcers (emerging threats, binarydefense etc.) and copy & paste those adresses into a list.
Then its just a matter of adding block rules for those lists in the INPUT and FORWARD chain.
Sure, i could come up with a script that gets the job done but i thought it might be a good idea to ask here because surely a lot of other people had the same idea. :)

Thank you
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: badhosts blocking

Thu Oct 07, 2021 2:33 pm

Try starting here: viewtopic.php?p=879181
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: badhosts blocking

Thu Oct 07, 2021 2:34 pm

 
TicToc
just joined
Topic Author
Posts: 10
Joined: Mon Nov 02, 2015 4:22 am

Re: badhosts blocking

Thu Oct 07, 2021 8:45 pm

Thanks msatter, i ll check that out asap.

Who is online

Users browsing this forum: adwlodaro, Amazon [Bot], dervomsee, GoogleOther [Bot], remilucia and 197 guests