1

Topic: iRedMail-0.9.2 and CentOS 7 change ssh port

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: No
====

I wanted to change ssh port to some number, example : 3333
i didn't know how to modify iRedmail firewall setting in CentOS 7

thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail-0.9.2 and CentOS 7 change ssh port

Replace ssh port number (or service name) in /etc/firewalld/zones/iredmail.xml, make sure you have 'DefaultZone=iredmail' in /etc/firewalld/firewalld.conf, then run:

firewall-cmd --complete-reload