Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

Zimbra open source iptables memo

In this tutorial, I written Zimbra open source Iptables memo. The setting content is diffrent depending on your environment.

Iptables for zimbra


SMTP

iptables -I INPUT -p tcp --dport 25 -j ACCEPT

HTTP

iptables -I INPUT -p tcp --dport 80 -j ACCEPT

POP3

iptables -I INPUT -p tcp --dport 110 -j ACCEPT

IMAP

iptables -I INPUT -p tcp --dport 143 -j ACCEPT

LDAP

iptables -I INPUT -p tcp --dport 389 -j ACCEPT

HTTPS

iptables -I INPUT -p tcp --dport 443 -j ACCEPT

SMTPS

iptables -I INPUT -p tcp --dport 465 -j ACCEPT

IMAPS

iptables -I INPUT -p tcp --dport 993 -j ACCEPT

POP3S
iptables -I INPUT -p tcp --dport 995 -j ACCEPT

VMSVC

iptables -I INPUT -p tcp --dport 7025 -j ACCEPT

Port for ZCS Web Administration

iptables -I INPUT -p tcp --dport 7071 -j ACCEPT

To save and restart Iptables

/etc/init.d/iptables save
/etc/init.d/iptables restart

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com