HostWay Linux CentOS Programming Server
Common Ports to Set for Linux New Server in Firewall
September 3, 2017
0
standard tcp ports

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

About author

ZERIN

CEO & Founder (BdBooking.com - Online Hotel Booking System), CEO & Founder (TaskGum.com - Task Managment Software), CEO & Founder (InnKeyPro.com - Hotel ERP), Software Engineer & Solution Architect

How to Connect to Bluehost server using Shell Access

Manually generating your SSH key in macOS To open ...

Read more

hitpath API: Read Affiliates Record

<?php $offset = 0; $limit = 10; $url = "http://...

Read more

hitpath API: Read Campaigns Record

<?php $offset = 0; $limit = 10; $url = "http://...

Read more

There are 0 comments

Leave a Reply

Your email address will not be published. Required fields are marked *