Rechenzentrums-Adressbereiche (X4BNet)

https://raw.githubusercontent.com/X4BNet/lists_vpn/main/output/datacenter/ipv4.txt Rohliste öffnen
43,0kEinträge
+0 -0letzte Änderung
zuletzt aktualisiert
656,4 KBGröße
vor 17 Stundenzuletzt geprüft

Beschreibung

Bereiche, hinter denen Server statt Anschlüsse von Privatpersonen stehen. Praktisch, um automatisierten Verkehr von echten Besuchern zu trennen, denn Bots laufen fast immer im Rechenzentrum. Als harte Sperre ungeeignet, weil auch legitime Dienste von dort zugreifen.

Integration

Address list per script

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

/tool fetch url="https://raw.githubusercontent.com/X4BNet/lists_vpn/main/output/datacenter/ipv4.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://raw.githubusercontent.com/X4BNet/lists_vpn/main/output/datacenter/ipv4.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
  /ip firewall address-list add list=blocklist address=$line comment="Rechenzentrums-Adressbereiche (X4BNet)"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Rechenzentrums-Adressbereiche (X4BNet)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Rechenzentrums-Adressbereiche (X4BNet)"

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