1

Topic: How to manually add firewall rules provided by iRedMail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.3.1 MARIADB edition.
- Install with bash iRedMail.sh comes with "git clone https://github.com/iredmail/iRedMail.git"
- Linux/BSD distribution name and version: Ubuntu 20.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

After installing all necessary scripts, and just before adding the firewall rules, my ssh connection got disconnected.

-------------

*************************************************************************
* iRedMail-1.3.1 installation and configuration complete.
*************************************************************************

< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/default/iptables, with SSHD ports: 22. [Y|n]client_loop: send disconnect: Connection reset by peer


-------------

Now, I need to know, how can I manually add the FireWall Rules for iRedMail?

Thank you.

----

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

2

Re: How to manually add firewall rules provided by iRedMail

edit:
/etc/default/iptables