Firewall Configuration

If you can't connect to your server on some ports it's most likely due to the Linux Firewall.

We enable the Linux Firewall on all Virtual & Dedicated servers at the time of provisioning. By default ONLY SSH is allowed access while all other types of traffic, such as HTTP, MAIL, DNS, ICMP are dropped. We recognise that not all of our customers are technical enough to configure the Firewall or may not realise the importance of turning on the Firewall, and as a result we ere on the side of caution by enabling it from the word go.

Depending on the role of your server (web server, database server, mail server, etc) the first thing you should do is configure allowed traffic.

If your server has a control panel installed such as Webmin, you can manage the firewall via the web console.

Via Webmin;

Login to Webmin > Networking > Linux Firewall

Via Command Line; (Redhat Enterprise, CentOS, Fedora)

Login as root
Type "setup"
"Firewall Configuration"

Some common protocols and ports;

HTTP: TCP 80
HTTPS: TCP 443
RDP: 3389
SSH: 22
FTP: 21
SMTP: 25
POP3: 110
IMAP: 143
DNS Queries: UDP 53
DNS Tranfers: TCP 53
 
  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How to remove an IP address block in Config Server Firewall

Synopsis:This guide contains instructions for removing a blocked IP address from within Config...

Plesk PHP.INI Per Domain Customisation

You can customise the PHP.INI file on an individual domain level for your customers using the...

What is using disk space in Linux

Synopsis:This guide contains instructions for identifying what folders on your Linux server are...

Powered by WHMCompleteSolution