MyIP Blacklist

Advertisements

https://myip.ms/files/blacklist/general/latest_blacklist.txt Rohliste öffnen
1.113Einträge
+0 -0letzte Änderung
zuletzt aktualisiert
76,1 KBGröße
vor 23 Stundenzuletzt geprüft

Beschreibung

Filterliste aus den Bereichen Malware. Format: IPs (IPv4). Einzelheiten und Aufnahmekriterien stehen auf der Projektseite.

Integration

Address list per script

Fetch the list and import it into an address list called blocklist:

/tool fetch url="https://myip.ms/files/blacklist/general/latest_blacklist.txt" dst-path=blocklist.rsc
/import blocklist.rsc

If the list is a plain text file with one address or CIDR per line, convert it first:

/tool fetch url="https://myip.ms/files/blacklist/general/latest_blacklist.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
  /ip firewall address-list add list=blocklist address=$line comment="MyIP Blacklist"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="MyIP Blacklist"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="MyIP Blacklist"

Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.

MikroTik RouterOS Dokumentation

Advertisements
Advertisements
Nach oben scrollen