Command to monitor your asterisk

Hi guys,

Got a question, how do you monitor your asterisk of there is something wrong?

I did some firewall blocking and I wanna monitor if something occur after that, can anyone share what command do you use?

Start by making sure there are 2 way comunnication between Asterisk and your remote peers and also the rtp and sip ports are accesible by them