Topic: (Solved) No iptables on Ubuntu 20.04.1 LTS / Security Issue
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-64-generic x86_64)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi
I just did a new installation of iredmail on a new installed Ubuntu 20.04.1 LTS. After finishing installation of iredmail, I noticed that the ireadmail rules for iptables (/etc/default/iptables) are not active at all.
This is what /iRedMail-1.3.2/runtime/install.log says:
[ INFO ] Copy firewall sample rules.
+ < DEBUG > Service control: enable iptables.
Failed to enable unit: Unit file iptables.service does not exist.
+ < DEBUG > Service control: enable ip6tables.
Failed to enable unit: Unit file ip6tables.service does not exist.
[ INFO ] Restarting firewall ...
+ < DEBUG > Service control: restart iptables.
Failed to restart iptables.service: Unit iptables.service not found.
+ < DEBUG > Service control: restart ip6tables.
Failed to restart ip6tables.service: Unit ip6tables.service not found.
So far as I understand is, that Ubuntu is using ufw and has no "service" for iptables (anymore?).
How can I activate the rules for hardening the ireadmail server? Maybe the rules should be installed by ufw?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.