Scripts
From MikroTik Wiki
- Enable and Disable P2P connections
- Send Backup email
- Limiting a user to a given amount of traffic (using firewall)
- Limiting a user to a given amount of traffic II (using queues)
- Generate bogons firewall chain based on routing-marks
- Generate routes for stress testing BGP functionality
- Set global and local variables
- Dynamic DNS Update Script for ChangeIP.com
- Reset user counters:
- -------------------
/ system script add name="rst-hspot-cnt" source="/ip hotspot user reset-counters" \ policy=ftp,reboot,read,write,policy,test,winbox,password / /
- Schedule user counter reset daily at midnight:
- ---------------------------------------------
/ system scheduler add name="rst-hspot-user-cnt" on-event=rst-hspot-cnt start-date=feb/25/2006 \ start-time=00:00:01 interval=1d comment="" disabled=no /