Hello,
i have one short question referring to the firewall rules and securing my Mikrotik router:
I created one bridge (bridge A), which includes vlan10 and ether2.
I want to prohibit any traffic or access from this bridge (including all of its interfaces) to the rest of my network, because it will be accessible by anyone.
Can I already achieve this, by setting up this single and simple firewall rule?
→ Chain: Forward; Input In.: bridge A; Output In.: any; Action: drop
If I select a bridge-interface in a firewall rule, is this rule also applied to the interfaces beloging to this bridge?
Additional steps I took:
– IP → Services: Disabled all services except of www, www-ssl and winbox
– Tools → MAC-Server: Telnet is disabled completely, Winbox is only available for some specific interfaces
– IP → Neighbour-List → Discovery Interfaces: Disabled for all interfaces, except for some specific ones
– I deleted the admin-user and created a new one with a long password
What other steps do you recommend to me to avoid any bad surprise?
You probably want two rules. One in forward chain to prevent access to other interfaces. And second in input chain, to prevent access to router itself (services running on it). From IP perspective, bridge is just one interface, no matter how many ports it has. So yes, you select it as input interface and it’s enough.
1.) Action: drop II Chain: forward II In. Interface: bridge-A II Out. Interface: ANY
2.) Action: drop II Chain: forward II In. Interface: ANY II Out. Interface: bridge-A
3.) Action: drop II Chain: input II In. Interface: bridge-A II Out. Interface: ANY
3.) Action: drop II Chain: output II In. Interface: ANY II Out. Interface: bridge-A
Did I setup these rules correct? - I’m especially not sure if the bridge-A Interface is supposed to be the Input or the Output Interface.