1

Topic: Firewall Restart - IPTables

==== 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-48-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? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Restarting the firewall

I had to add a change into the firewall. The instructions said to restart ipTables. This version has no standard way to restart iptables.

/etc/init.d/ ... no iptables
systemctl  no iptables service
service no firewall in the list.

Checked ip-pre-up and saw nothing there too.

As part of the install you ask to allow the firewall to use iRed settings then restart it. is there a script which will let users do this as the only way I found to get the changes taken up was restart server - which is not ideal in a production server.

----

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

2

Re: Firewall Restart - IPTables

I think you just need to reload the iptables rules with iptables-restore:

iptables-restore < /etc/default/iptables

Note that I did not use Ubuntu, but this should be correct for iptables (assuming your iptables rule file is /etc/default/iptables)

3

Re: Firewall Restart - IPTables

Ubuntu 20.04 uses nftables. Config file is /etc/nftables.conf, service name is "nftables".