CCR Router Firewall default rules -???

How to fortify my CCR 2004 -16g - 2s+ router. Recently password hacked and the router was compromised.

Reset the router configuration with fresh install.

What are the default Minimum firewall rules.

Can I have from AI?

Start from the (unofficial) Rules of the Mikrotik Club:

Rule #8 Is about the default firewall, in its corollary there is a link to an updated set of default firewall rules.

Yes, you can. Why not? But remeber to ask that AI for help when you would have problems.

Just a rethorical question: do you blindly believe to AI answers?

I would recommend you to use this method that I copied. The logic here is that you ban everything and then allow only what you need. It is a good practice.

/firewall filter
add action=accept chain=input comment=
“defconf: accept established,related,untracked” connection-state=
established,related,untracked*
add action=drop chain=input comment=“defconf: drop invalid” connection-state=invalid
add action=accept chain=input comment=“defconf: accept ICMP” protocol=icmp
add action=accept chain=input comment=
“defconf: accept to local loopback (for CAPsMAN)” dst-address=127.0.0.1
(admin rules)
add action=accept chain=input comment=“allow ONLY LAN originated traffic”
in-interface-list=LAN
add action=drop chain=input comment="drop all else"

add action=accept chain=forward comment=“defconf: accept in ipsec policy”
ipsec-policy=in,ipsec ( remove if not doing ipsec )
add action=accept chain=forward comment=“defconf: accept out ipsec policy”
ipsec-policy=out,ipsec ( remove if not doing ipsec )
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack”
connection-state=established,related hw-offload=yes
add action=accept chain=forward comment=
“defconf: accept established,related, untracked” connection-state=
established,related,untracked
add action=drop chain=forward comment=“defconf: drop invalid”
connection-state=invalid
add action=accept chain=forward comment=“internet traffic” in-interface-list=LAN out-interface-list=WAN
add action=accept chain=forward comment=“port forwarding” connection-nat-state=dstnat disabled=yes { enable if required or remove }
add action=drop chain=forward comment=“drop all else”

If your router was hacked, then you need to use netinstall to put in a fresh 7.21.3 for example.