I am new to MikroTik thing, but I am on learning stage.
I wanted to block /24 network to access internet, however I wanted specific IP Address under that network to have internet access.
Any suggestion and guide, would be greatly appreciated.
With a drop all rule at the end of chains on firewall rules, nothing is allowed unless specified
So for example the standard LAN to WAN remove can be modified.
add chain=forward action=accept in-interface-list=LAN out-interface-list=WAN src-address-list=authorized.
Where authorized is a list of IP address you select.
Suggest read the links, modify the config and if still having issued, come back and post your config
/export hide-sensitive file=anynameyouwish
Iquote=anav post_id=909386 time=1643571179 user_id=115581]
Hi timyout,
If you put this rule
add chain=forward action=drop comment=“drop all else”
Then you wont need the second rule… nor any other rule that you need to put in to stop traffic.
[/quote]
If I change my filter rule for this, it does do the same?
I only wanted to block /24 network by default which is getting from dhcp server from accessing to internet those unknown ip address.
for those I authorized, I just manually added them to address list and add another rule to allow the authorized address list to have internet access enabled.