VPN-Adressbereiche (X4BNet)

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

Beschreibung

Führt die Ausgangsbereiche verbreiteter VPN-Dienste zusammen. Gedacht nicht zum Sperren, sondern zum Erkennen: etwa um Anmeldungen aus einem VPN zusätzlich zu prüfen oder um Geoinformationen richtig einzuordnen. Wer VPN-Nutzer pauschal aussperrt, trifft überwiegend Menschen, die schlicht ihre Verbindung schützen.

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/vpn/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/vpn/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="VPN-Adressbereiche (X4BNet)"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="VPN-Adressbereiche (X4BNet)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="VPN-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