Ubuntu UFW Profile

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ework
Posts: 3
Joined: Fri Sep 12, 2014 10:46 pm

Ubuntu UFW Profile

Post by ework »

If you administer Zimbra on Ubuntu the following UFW profile may be of interest to you. For more information about UFW see https://help.ubuntu.com/community/UFW.
Create the file /etc/ufw/applications.d/zimbra with the following contents:


[Zimbra]

title=Zimbra Collaboration Server

description=Open source server for email, contacts, calendar, and more.

ports=25,80,110,143,443,465,993,995,7071/tcp


Enable the profile using:


sudo ufw allow Zimbra

sudo ufw enable


You can tweak the profile to meet your needs.
mhammett
Advanced member
Advanced member
Posts: 133
Joined: Sat Jul 19, 2014 7:07 am
ZCS/ZD Version: Release 8.6.0.GA.1153.UBUNTU14.64 U

Re: Ubuntu UFW Profile

Post by mhammett »

Code: Select all

[Zimbra]

title=Zimbra Collaboration Server

description=Open source server for email, contacts, calendar, and more.

ports=25,80,110,143,443,465,587,993,995,3443,5222,5223,7071,9071/tcp
That would be more inclusive (or more current, whichever is applicable) based on https://wiki.zimbra.com/wiki/Ports.

This is for single-node Zimbra installations. You'll still need to allow yourself a way in such as the CIDR mask:

Code: Select all

ufw allow from xxx.xxx.xxx.xxx/yy
Post Reply