MikroTik RouterOS policy examples
Rules for MikroTik RouterOS configs. Every rule has a passing config and a failing config, with the result rConfig gives for each. Run the rules against the output of /export, where each section line (for example /ip service) is followed by its set and add lines.
| Topic | What the rules check | Rules |
|---|---|---|
| Build template | Identity, timezone, services off, LAN bridge, DHCP, DNS, source NAT, firewall filter, NTP and remote logging, all set to your standard build | 10 |
The build template checks that a router matches your own build. It is not a security check, and it uses example values that you replace with your own.
Where the examples come from
The topic documents the MikroTik RouterOS policy templates at release v1.5.0, which you can import into rConfig. Its configs are sanitised excerpts of the sample configs that come with the template. Where no sample fails a rule, the failing config is a sample excerpt with one line changed, and the page says which line.
Every config shown was run through rConfig Pro’s evaluator with its rule, and gave the result shown.
If you are new to policy definitions, start with your first policy.