REFERENCE

v6.11.0

Threat Feed

Subscribe to external threat-intel IP feeds: a scheduled fetch+import into a dynamic firewall address-list with an optional raw drop — a self-updating blocklist.

Tools

subscribe_threat_feed

Subscribe to Threat-Intel Feed · Risk: write

Subscribes the router to an external threat-intelligence IP feed: installs a /system script that fetches url and imports it into the address_list, a /system scheduler that re-runs it every interval, and (when drop=true) a raw pre-conntrack drop for that list — a self-updating blocklist (e.g. Spamhaus DROP, tor exit nodes, your own deny list). url MUST point to a RouterOS .rsc file that populates the address-list. DEFAULTS TO A DRY RUN (apply=false); set apply=true to install. Script/scheduler/rule are named/tagged threat-feed-<name> so remove_threat_feed can undo them. Returns the plan or a build report.

ParameterRequiredDefinition
nameYesShort feed id, e.g. 'spamhaus-drop' {"type":"string"}
urlYesHTTPS URL of a RouterOS .rsc address-list file {"type":"string"}
address_listYesAddress-list to populate {"default":"threat-blocklist","type":"string"}
intervalYesHow often to refresh the feed {"default":"1h","type":"string"}
dropYesAlso add a raw drop rule for the address-list {"default":true,"type":"boolean"}
applyYesfalse = preview (default); true = install {"default":false,"type":"boolean"}

remove_threat_feed

Remove Threat-Intel Feed · Risk: destructive

Removes a threat feed installed by subscribe_threat_feed: deletes its /system scheduler and /system script (named threat-feed-<name>) and any raw drop rule tagged for it. Does NOT flush the address-list entries themselves. Returns what was removed.

ParameterRequiredDefinition
nameYesThe feed id used when subscribing {"type":"string"}

On this page