Zimbra Mail Server CentOS firewall settings

On CentOS 7 server with firewalld running, used following command to open ports used by Zimbra Mail Server.

See Zimbra, firewall-cmd

CentOS add IP Address

To add IP address on a Linux server, first find name of your network interface. This can be done with command

In most case, it can be enp3s0 or eth0, if you have more than one network card, this may be differnt, in such case, you need to identify which network interface you need to configure the the IP address .

Now create file

Here i used enp3s0 as network inferface name, replace it with whatever network interface name you use.

Add following content

IP_ADDR_HERE = replace with the IP address you need to add.

enp3s0 = replace with actual network interface name.

Restart network service with command

If you need to add another IP, create file with name

for example “enp3s0:2”, you need to use same alias name in DEVICE entry (first line) in the file.

Adding IP Range in CentOS 6

CentOS Web Panel

Install CentOS Web Panel (CWP)

CentOS Web Panel (CWP) is a free hosting control panel for CentOS servers.

CentOS Web Panel

To install CentOS Web Panel, run

CWP use same Ports as popular Cpanel control panel.

Admin Panel

CWP Admin Panel available on following URL.

You can login with system user “root” and its password.

User Panel

Webmail

On CWP server, you can find MySQL login details in following config files.

Document Root

Web site files are stored in folder /home/USER/public_html

Stop/Start Services

Service files are stored in /usr/lib/systemd/system/

Web Server

CWP support multiple web servers. For Apache, it is installed in folder

Apache config file is /usr/local/apache/conf.d/vhosts.conf

CPW have its own apache package with name “cwp-httpd”, don’t use default httpd package provided by CentOS.

CWP server log can be found at

See Hosting Control Panel

Adding IP Range in CentOS 6

To add an IP range in CentOS 6 server, create file

Add

Replace IP with your actual start and end IP.

Restart network service with