archive

Tag: scriptlet

2 articles

SCRIPTS scripts

Scriptlet: Find Default Route Interface Names (and a free licence!)

Today I’m giving you the task of reviewing and improving a small script I’ve written, and one of you will win a free Level 4 RouterOS licence.  Background: I had need of a script to find the interfaces associated with any default routes in order to create matching firewall entries, and it had to work … Continue reading Scriptlet: Find Default Route Interface Names (and a free licence!)

SCRIPTS scripts

Script Fu – Changing RADIUS server source address

Just a quick post to show an example of day to day usage of RouterOS scripting. Goal: We had to change the src-address for a bunch of radius-server listings across 40 MikroTik devices, to match a new pptp-tunnel address. What would’ve been a pain was that the address is different on each device. Solution: Create … Continue reading Script Fu – Changing RADIUS server source address