Relative Content

Tag Archive for Mikrotik

Send Mikrotik config via email

This script will export the config from your mikrotik router and email it to your email address. The scheduled time between exports and email sending can be decided by you. The exported file will take the name of your system identity ending in the extension .rsc /export file=”$[/system identity get name]” /tool e-mail send to=”router_configs@youremailaddress.com” […]

Exporting Mikrotik Firewall Rules

In a terminal windows or via ssh, enter the below line ip firewall export file=firewallrules then find a file called “firewallrules.rsc” in your files folder.

Mikrotik VPN place rule before dummy rule

/ip firewall filter add chain=forward dst-address=”remoterange” src-address=”localrange” place-before=0 /ip firewall filter add chain=forward dst-address=”localrange”¬†src-address=”remoterange” place-before=0

Routerboard SNTP Client

How to set the NTP client on a Mikrotik router using the Terminal /system ntp client set enabled=yes primary-ntp=###.###.###.### secondary-ntp=###.###.###.### Change the ### for IP address’s Once done use the below to check if the settings has been applied /system ntp client print Below are two IP addresess for NTP servers that I use, they […]