Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


routeros_bogon_update

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
routeros_bogon_update [2021/10/30 08:44] adminrouteros_bogon_update [2021/10/31 14:40] (current) admin
Line 2: Line 2:
  
 =====RouterOS 6.x - Update Team CYMRU bogon list automatically===== =====RouterOS 6.x - Update Team CYMRU bogon list automatically=====
-You can easily adapt this script to download the IPv6 bogon list.+You can easily adapt this script to download the IPv6 bogon list, if the list is shorter than the max variable length!
  
   * Download CA certificates and upload to RouterOS, or with next command (not encrypted by TLS!):<code>/tool fetch url=https://curl.se/ca/cacert.pem</code>   * Download CA certificates and upload to RouterOS, or with next command (not encrypted by TLS!):<code>/tool fetch url=https://curl.se/ca/cacert.pem</code>
Line 68: Line 68:
   * Set policy:<code>/system script set bogons policy=read,write,test</code>   * Set policy:<code>/system script set bogons policy=read,write,test</code>
   * Test run script:<code>/system script run bogons</code>   * Test run script:<code>/system script run bogons</code>
-  * Schedule script:<code>/system scheduler add interval=1w on-event=bogons name=update-bogons</code>+  * Schedule script:<code>/system scheduler add interval=1d on-event=bogons name=update-bogons</code>
   * Add firewall rules with: <code>dst-address-list=!AUTOBOGON</code>   * Add firewall rules with: <code>dst-address-list=!AUTOBOGON</code>
  
routeros_bogon_update.txt · Last modified: 2021/10/31 14:40 by admin