The following is a basic example of a MikroTik firewall rule list to protect your MikroTik. This guide assumes you are using a bridge called LAN.
- Add the firewall rules using the terminal.
- /ip firewall filter
- add action=accept chain=forward comment=”Allow EST REL Untracked Forward” connection-state=established,related,untracked
- add action=accept chain=input comment=”Allow EST REL Untracked Input” connection-state=established,related,untracked
- add action=accept chain=input comment=”Allow ICMP Input” protocol=icmp
- add action=drop chain=forward connection-nat-state=!dstnat in-interface=ether1
- add action=drop chain=forward comment=”Drop Invalid Forward” connection-state= invalid
- add action=drop chain=forward comment=”Drop Invalid Forward” connection-state=invalid
- add action=drop chain=input comment=”Drop all Input Not From LAN” in-interface=!LAN