Skip to content

boris1993/routeros-update-magic-network-monitoring-router-address

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Update CloudFlare Magic Network Monitoring router address in RouterOS


Usage

  • Create 2 files in your router under folder script-data
    • cf-account-id - contains your CloudFlare account ID
    • cf-token - contains a CloudFlare user API token with permission Magic Network Monitoring:Admin
  • Upload update-magic-network-monitoring-router-address.rsc to Files in your router (say under directory scripts)
  • Create a scheduled job with the following command
/system scheduler add \
    interval=1h \
    name=update-cf-magic-network-ip \
    on-event=":import scripts/update-magic-network-monitoring-router-address.rsc" \
    policy=read,write \
    start-date=2025-03-09 \
    start-time=00:00:00

License

This project is licensed under MIT License.

About

Update the CloudFlare Magic Network Monitoring router address in RouterOS

Topics

Resources

License

Stars

Watchers

Forks