Get familiar with firewall rules as anav wrote, investigate services connections (ips/ip ranges and ports) which you need to allow (as I wrote you my example how I did this for QoS http://forum.mikrotik.com/t/install-basic-opensource-firewall-as-docker-container-for-control-my-whole-lan/166504/1) and block other.