Показаны сообщения с ярлыком firewall. Показать все сообщения
Показаны сообщения с ярлыком firewall. Показать все сообщения

воскресенье, 8 марта 2020 г.

исключить атаку с этих адресов

исключить атаку со списков из этих сервисов 
https://opendbl.net
http://joshaven.com
http://www.squidblacklist.org/
https://hosts-file.net/

Кстати, готовые адрес-листы по коду страны для микротика отлично тянулись вот отсюда:
http://www.iwik.org/ipcountry/mikrotik/RU
_____________

https://stat.ripe.net/docs/data_api

https://stat.ripe.net/data/country-resource-list/data.json?resource=ru&cached=True

ftp://ftp.ripe.net/ripe/ipmap/geolocations-latest

Это bz2 архив

среда, 16 августа 2017 г.

129. Mikrotik Allow Access From Specific Country

Script:

Download Address List file to Router:
/tool fetch url=http://www.iwik.org/ipcountry/mikrotik/KH

Import IP Address from File to Address-List:
/import file-name=KH

Filter Rule:
/ip firewall filter add chain=forward in-interface=ether1_WAN src-address-list=!KH action=drop comment="Allow Only access From My Country" disabled=no


Ref:
http://www.ip2location.com/free/visitor-blocker
http://www.iwik.org/ipcountry/
http://www.nationsonline.org/oneworld/country_code_list.htm