uiblog_it

Tor Relay IPv4

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