You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 103 of /functions/cleanup.sh, the script asks:
"File: /etc/nftables.conf, with SSHD ports: 22. [Y|n]"
Because I have changed the default port number of sshd by adding an extra line in /etc/ssh/sshd_config.d/60-cloudimg-settings.conf and I am not sure if I should type the port number or just "n"? I tried "n", but the script took for granted that I do not want to update the firewall rules.
Later I tracked back the source codes, and realized that the SSHD port was detected by /conf/global, from line 637, and I suggest the detector change another way to get the port number of sshd.
REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER:
iRedMail version (check /etc/iredmail-release): 1.7.2
Deployed with iRedMail Easy or the downloadable installer? Downloaded from GitHub
Linux/BSD distribution name and version: Ubuntu 24.02
Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB (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.
The text was updated successfully, but these errors were encountered:
"File: /etc/nftables.conf, with SSHD ports: 22. [Y|n]"
You can answer "Y" here, it will copy prepared firewall rules.
Then it asks whether to restart firewall right now, choose "N" here so that you can update firewall rules with correct port number.
iRedMail installer checks file /etc/ssh/sshd_config by default, so if you changed it in file under /etc/ssh/sshd_config.d/, it won't be detected by the installer. If i remember correctly, old OpenSSH doesn't support loading config snippets, and i forgot to update this with recent linux/bsd distros. Will try to fix it in later release, but no plan shortly, sorry. Busy working on iRedMail Enterprise Edition: https://www.iredmail.org/ee.html
In line 103 of /functions/cleanup.sh, the script asks:
"File: /etc/nftables.conf, with SSHD ports: 22. [Y|n]"
Because I have changed the default port number of
sshd
by adding an extra line in /etc/ssh/sshd_config.d/60-cloudimg-settings.conf and I am not sure if I should type the port number or just "n"? I tried "n", but the script took for granted that I do not want to update the firewall rules.Later I tracked back the source codes, and realized that the SSHD port was detected by /conf/global, from line 637, and I suggest the detector change another way to get the port number of sshd.
REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER:
The text was updated successfully, but these errors were encountered: