Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Script che scaricherà la lista Tor relay IPv4 come file di testo
- /system script add name="Download_TorIPv4relay" source={/tool fetch url="https://mikrotik_bl.uiblog-it.workers.dev/torrelay/torrelayIPv4uiblog.rsc" mode=https;
- :log info "Ho scaricato il file torrelayIPv4uiblog.rsc da uiblog.it";
- }
- # Script che rimuoverà la vecchia lista relay degli IPv4 della rete tor e la aggiorna con una nuova
- /system script add name="Replace_TorIPv4relay" source={/ip firewall address-list remove [find where comment="torrelayIPv4uiblog"]
- /import file-name=torrelayIPv4uiblog.rsc;
- :log info "Rimossi i vecchi record della lista torrelayIPv4 e importato il nuovo elenco da uiblog.it";
- }
- # Programma il download e l'applicazione della lista dei relay IPv4 di Tor
- /system scheduler add comment="Scarico la lista torrelayIPv4" interval=3h \
- name="Download_TorIPv4relay" on-event=Download_TorIPv4relay \
- start-date=jan/01/1970 start-time=05:29:26
- /system scheduler add comment="Inserisco la lista torrelayIPv4 nuova" interval=3h \
- name="Replace_TorIPv4relay" on-event=Replace_TorIPv4relay \
- start-date=jan/01/1970 start-time=05:54:26
Advertisement
Add Comment
Please, Sign In to add comment