Sometimes I have found after hosting new web project to new Linux Server, so many services stop working like webmail, ssl, WHM, cpanel.
Later, I figure it out that, most of it because Firewall blocks them as there are no authorized port described / configured in the firewall.
It always so tough to remember all that ports that are very common & standard to set them from beginning.
I am adding some standard ports that you should turn on in your firewall for your linux server.
Protocol | Source (IP or group) | Start Port Range | End Port Range |
TCP | 0.0.0.0/0 | 22 | 22 |
TCP | 0.0.0.0/0 | 80 | 80 |
TCP | 0.0.0.0/0 | 443 | 443 |
TCP | 0.0.0.0/0 | 21 | 21 |
TCP | 0.0.0.0/0 | 2083 | 2083 |
TCP | 0.0.0.0/0 | 2082 | 2082 |
TCP | 0.0.0.0/0 | 2087 | 2087 |
TCP | 0.0.0.0/0 | 2095 | 2095 |
TCP | 0.0.0.0/0 | 2096 | 2096 |
TCP | 0.0.0.0/0 | 25 | 25 |
TCP | 0.0.0.0/0 | 465 | 465 |
TCP | 0.0.0.0/0 | 110 | 110 |
TCP | 0.0.0.0/0 | 143 | 143 |
TCP | 0.0.0.0/0 | 22 | 22 |
TCP | 0.0.0.0/0 | 995 | 995 |
TCP | 0.0.0.0/0 | 993 | 993 |
There are 0 comments