Topic: Firewalld and SSH changed port
Hello,
after changed SSH port from 22 to 25250 in file "sudo vi /etc/ssh/sshd_config" > reboot
I can't access via SSH Terminal to my server.
How to fix it?
Thanks!
==== Information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend: MariaDB 10:
- Linux/BSD distribution name and version: CentOS 7
- Related log if you're reporting an issue:
====================
Login failed.
connect to host 199.51.21.24 port 25250: Connection refused
Please, Note: I have changed port before installing iRedMail.
< INFO > Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/firewalld/zones/iredmail.xml, with SSHD port: 25250. [Y|n]y
< INFO > Copy firewall sample rules: /etc/firewalld/zones/iredmail.xml.
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/basic.target.wants/firewalld.service'
< Question > Restart firewall now (with SSHD port 25250)? [y|N]y
< INFO > Restarting firewall ...
< Question > Would you like to use MySQL configuration file shipped within iRedMail now?
< Question > File: /etc/my.cnf. [Y|n]y
If "sudo systemctl stop firewalld" via Access page on Hosting terminal, I can perform entry via my SSH Terminal (Coda 2)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.