Preamble and disclaimer:
The following is a numbered list of what is usually considered good practice or common sense advice when choosing, using, setting up or maintaining a Mikrotik router.
It is my personal take on the matter, and in no way approved, endorsed or recommended, officially or unofficially, by Mikrotik or their partners or by anyone else.
In other words you are perfectly free to ignore its contents, though they represent (IMHO) a sort of (useful) check list for people starting to use these devices.
Unlike Mikrotik Club Rules:
(or firewall filter rules) that have a strict order of relevance, these are added and numbered (starting from 13) as soon as I come across the idea or it is suggested by some other member, in pseudo-random order, and the list is potentially endless.
The last number item is intentionally left blank to underline the always evolving nature of the list.
Experts already know all these little tricks or habits (and many more) and they already have their own ways to implement them or however manage properly their devices.
Good practice and common sense advice:
34. ...
Corollaries:
[13] As a common example at the time of this writing ( with Ros around versions 7.17-7.18) buying new a device with only 16 Mb of storage is generally considered an extremely sophisticated path to self-injury. The new versions of Ros are simply too large to fit in that tiny space of storage and upgrading these devices often if not always involves to netinstall from scratch (and if you haven't tried netinstall you cannot imagine how painful and frustrating the process can be). This does not mean that 16 Mb devices are to be thrown in the dustbin, if you have one of them or if you happen to find used ones on the cheap they can still be very valid devices, in the appropriate cases, possibly running long term 6.49.x. But buying new ones? Don't.
[14] Known settings that may cause this are:
a. auto timezone detect enabled [ System --> Clock --- Tab: Time ]
b. update time enabled [ IP Cloud --> Tab: Cloud ]
[15] Otherwise in a few days/weeks time when you will need to review the configuration you won't be able to distinguish what is really "defconf" and comes standard from Mikrotik and what you changed.
This is general good practice, in the specific case of (usually more complex) added or modified entries in:
a. /ip firewall mangle
b. /ip firewall filter
c. /ip routing rules
d. /ip routes
it is VITAL that the comment is meaningful, otherwise you risk spending hours to "reverse engineer" the clever setting you made earlier to try and understand what it does.
[16] This is not limited to RoS, in any scripting language variable should have names different from any reserved one in the environment.
[17] Knowing its features/peculiarities binary backup can be very useful, still it is something that you should not use if not for recovery of the SAME device or of an IDENTICAL one, and Identical means: same model and revision as models are sometimes silently "upgraded" with no public announcement so in one delivery different revisions could be found or during RMA the newer revision could be received. No way to know in advance if the replication on a same model but different revision will succeed or fail. This said, in SOME LIMITED cases it is actually possible to restore a binary backup on a different model, but it is strongly discouraged, and if you attempt it, be prepared to netinstall to recover the bricked device.
[18] Even if you cannot fully manage/understand the contents of the export, it is something you can post on the board to ask for help with.
It is suggested using terse parameter for export (for future restore/recovery) as each exported setting is complete, not split into many lines, commands are ready to be used in CLI without worries that they can be pasted in the wrong menu context.
/export terse <- terse - the export command will output only configuration parameters, without defaults or extended version
/export terse verbose <- verbose - the export command will output whole configuration parameters and items including defaults.
To save sensitive data add show-sensitive for v7 ( v6 always exports sensitive data)
For posting on the forum it is instead advised to NOT use terse as this way the output is more readable (grouped in sections), a simple /export file=anynameyouwish will do, more detailed instructions here:
Hello and welcome to the Mikrotik forumFor all new users that uses RouterOS for the first time and have some questions regarding their config here is short tutorial on how to access RouterOS configuration using "WinBox" and how to export their configuration and posting it properly in their topic. So after you unpack your new device and connect it to the power supply you need to connect it to the PC. Be careful when connecting because to access your new router you need to use one of…
I posted here a couple spreadsheets that may come handy to compare and convert exported configurations:
A few days ago I wanted to compare a posted on the forum configuration to a default one. I already made a small spreadsheet that is useful to compare two configurations side by side that allows inserting or removing cells to "align" the two configurations (I am also attaching it). I found (BTW thanks @tangent) the default configuration of the same device on the nice tangentsoft repository: https://tangentsoft.com/mikrotik/dir/defconf The problem being that the configuration was a "t…
And the Configuration Parser spreadsheet here (work in progress):
Not an article, but possibly useful. Very often, when reviewing the export of the full configuration some forum users post for review or check, I find extremely difficult to read it, particularly when it is not posted enclosed in “code” tags. Even when the proper formatting is used, I have difficulties in parsing multi-line settings. So I put together (half-@§§edly as usual, but seemingly working) a spreadsheet that can be used to better parse a config. The configuration can be past…
may be useful to quickly check settings grouped by section.
[19] In case of any doubt, again ask for clarifications before buying new devices and also connecting existing ones to PoE supplies/sources, while most modern devices (both Mikrotik and non-Mikrotik) have protections against overvoltage, reverse polarity and power on the "other" set of pairs (Mode A vs. Mode B), older or cheaper devices may lack them and letting the magic smoke out is a concrete possibility.
[20] Be anyway aware that using Safe Mode, while often being capable of reverting wrong settings, is not the perfect solution that protects you from everything, it should be intended as an additional safety, not as a "feel free to do whatever crosses your mind as you have the get out of jail free card".
[21] These placeholders are anyway uniquely set, i.e. as an example all occurrences of (say) *A refer to the same missing/deleted/removed data so it is generally easy, finding all occurences of "*A". to understand what was the original item and correct the configuration. There are exceptions of course, one is
/ppp profile set *FFFFFFFE ...
here *FFFFFFFE is the way RoS addresses the default encryption profile, see:
Hello all, I’ve configured my new router as needed - nothing special. Nonetheless, I’m left wondering why the default config from the router uses *FFFFFFFE for the default-encryption profile instead of simply 1. In more details - this sets the default-encryption profile : ## VPN/PPP settings # PPP profile (default-encryption) /ppp profile set *FFFFFFFE bridge=bridge dns-server=192.168.89.1 local-address=192.168.89.1 remote-address=vpn This is what I use, it works the same : ## VPN/PPP setti…
[22] SoHo devices come from factory with a default configuration that makes ether1 WAN and other ports LAN, so to connect you need to use any port BUT ether1, professional devices should be shipped with no default configuration and the QUick Guide recommends to use ether1 for connection, but some devices, for one reason or the other do not anyway allow connection from ether1, so if following the instructions doesn't work try another ethernet port.
[23] The issue is with the 5%-10% that appear to take effect but actually don't (or don't fully). In any case - before or later - the router will need to be rebooted and you want to make sure that it will work as expected just after a reboot, since it takes only a handful of seconds, when you change something and it doesn't work as expected, it is worth to try rebooting the device before starting looking (invain) for the whatever remained "sticky" from the previous configuration that prevents the device working as it should.
[24] You have to understand how frustrating it can be for a willing helping member to see that only 1/3 or 1/4 of the answer has been digested and implemented.
[25] The board is not like sending a telegram at a post office, you don't pay a fee per word, even without being verbose you should transmit as much information as possible.
[26] When the replies from different people are diverging it usually means that there is more than one way to skin a cat, but the cat (who won't be happy anyway) can only be skinned once.
[27] There are reasons for this, it is extremely common that while changing something something else is inadvertently changed and when there are multiple changes suggested one or two are skipped accidentally, the more expert members can usually spot an issue when reviewing a whole configuration file but they may miss some interconnected settings when separate snippets are posted.
[28] see here why:
Warning! in current Ros 7.22 and 7.22.1 Winbox v.3.x creates artifacts in wifi that prevent connecting to Apple IOS devices See starting here: Preamble and disclaimer: The following is a set of considerations that are intended as advice useful to avoid the most common issues when accessing or configuring a Mikrotik device running RouterOS. It is my personal take on the matter, and in no way approved, endorsed or recommended, officially or unofficially, by Mikrotik or their partners or by an…
[29] more on the matter:
I have been using Winbox v3 to connect to my Mikrotik Hex S (2025) router normally. I created users with strong passwords, but when I tried to use Winbox V4, none of the users could connect. After thinking about it for a moment, I remembered that my passwords might be too strong so I tried it out, and sure enough, you can't use passwords that contain “ñ à é ì ù ò,” etc. I hope this will be possible in future versions.
[30] When in six month or one year time you will need to review the firewall filter rules you will appreciate this piece of advice.
[31] Nothing to add, if not the (heavily redundant by now) "DO NOT use Quickset".
[32] The files that may be corrupted are usually strored as .viw in path %APPDATA%\MikroTik\WinBox\sessions , try moving the one(s) corresponding to the devices you have issues with to a new subfolder (or delete them) so that the Winbox will initiate a new session.
Reference thread:
WinBox window closes automatically when accessing router
[33] Here it would be a nice place for a rant about the risks implied in installing beta (and also "stable") versions, but I will instead post a link to a new, nice song:
https://suno.com/s/mNnn2UygsgfTDUp6
[34] ...
