I have a Mikrotik RB4011iGS+ router and we have a public IP (static). We have a CentOS server (local) which is connected to the Mikrotik. We want to host some websites locally and let people access them from external networks.
According to the CyberPanel (on the CentOS server), we need to open the following ports for everything to work properly.
- TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service
PS. I'm a software engineer and I do not have too much experience in networking.
Thanks in advance.