I want to write a small script of firewall input rule to accept all the packets from the address range 192.168.2.1 to 192.168.2.50
I have v4.17 routeros and in example, this is done by the following way(for range 1.1.1.1 to 1.1.1.100)…
:for e from 1 to 100 do={
/ip firewall rule input add
src-address=(1.1.1. . $e)
src-netmask=255.255.255.255
}
In v4.17, in the menu level “ip firewall” , there is no “rule” menu level so I dont know how to do this… ![]()
need help…