The Hosts File Project IPs

https://hostsfile.mine.nu/hosts.ips Rohliste öffnen
17,2kEinträge
+0 -0letzte Änderung
zuletzt aktualisiert
1,6 MBGröße
vor 1 Tagzuletzt geprüft

Beschreibung

Filterliste aus den Bereichen Werbung und Privatsphäre. Format: IPs (IPv4). Betreut von Andy Short. 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://hostsfile.mine.nu/hosts.ips" 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://hostsfile.mine.nu/hosts.ips" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
  /ip firewall address-list add list=blocklist address=$line comment="The Hosts File Project IPs"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="The Hosts File Project IPs"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="The Hosts File Project IPs"

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

Nach oben scrollen