I have setup my own server which is apache ftp mail and mysql servers services at home and now im dealing with the firewall. The firewall i have installed is csf.
1) What are the incoming and outgoing ports should i open for my server?
2) I dont install ssh server so do i need to open incoming and outgoing port 22 for ssh server?
3) I dont provide dns server service, do i need to open incoming and outgoing port 53 for the dns server?
4) I also provide mysql database server service. Do i need to open incoming and outgoing port 3306 becasue i have heard that the port need to be open just for remote access. So for direct access, do i need to open the port.
My questions are too broad i think but i really need help from you guys.