Google Hosts (Surge)

https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/surge.conf Rohliste öffnen
16,4kEinträge
+0 -0letzte Änderung
zuletzt aktualisiert
804,5 KBGröße
vor 4 Stundenzuletzt geprüft

Beschreibung

Filterliste aus den Bereichen Proxys. Format: Socks5. 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://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/surge.conf" 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/googlehosts/hosts/master/hosts-files/surge.conf" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
  /ip firewall address-list add list=blocklist address=$line comment="Google Hosts (Surge)"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Google Hosts (Surge)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Google Hosts (Surge)"

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