Hi!
I need to define some global firewall rules and I try to simplify the ruleset.
Is it possible to define something like:
IP ends with .101
Or: 0.0.0.101 SubnetMask: 0.0.0.255
Thank you for your help!
Regards,
Stril
Hi!
I need to define some global firewall rules and I try to simplify the ruleset.
Is it possible to define something like:
IP ends with .101
Or: 0.0.0.101 SubnetMask: 0.0.0.255
Thank you for your help!
Regards,
Stril
No, this is not possible. RouterOS only supports contiguous netmasks from the top.
However, you can use Address List to match several addresses with a single rule.
Hi!
Thank you for your answer - although the facts are sad.
This would make it much easier to write rules.
Only in very specific situations. In general this is not really useful.
You can fill an address list with the addresses you need, when desired you can use a loop in a script to add many entries to the list without having to type them all.
Or you can use a powerful text editor or shell to create the commandline commands and then paste them into a command window.