Blocking tor browser on Mikrotik

Copy ips from
http://torstatus.blutmagie.de/ip_list_all.php/Tor_ip_list_ALL.csv
https://www.dan.me.uk/torlist/

Download my Excel file and paste those ips into row A5
https://mega.co.nz/#!dFsAnDIT!9c6G42zTHtKOkNW7GsgbFK-jKfaXd4hRU35eFjeQTUo
Copy from row B1 till last row
Using ssh or winbox terminal, paste those ips
Open winbox /ip/firewall/Filter Rules
Move two “tor drop” rules to number 1

I am trying to use this tool but it limited to 3000 ips. Hope the creator can modify it to accommodate more than 7k ips
http://gregsowell.com/?p=3826

If you expert in Mikrotik Scripting, maybe you can get ideas from these urls
http://stackoverflow.com/questions/9780038/is-it-possible-to-block-tor-users
https://github.com/rlex/shellscripts/blob/master/iplist-to-mikrotik.sh
http://joshaven.com/resources/tricks/mikrotik-automatically-updated-address-list/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s