when changing the SSH port from default (22) to anything other in 'Webmin - Servers - SSH Server- Networking' and applying the configuration, new connections are propperly allow on the given port.
After a restart however the ssh connection no longer work, as the buld in FirwalleD still only allows connections via port 22.
First question: Why does it not block connection to any other port aftern simply changing the port? Second question: Why does it block again after reboot? Third question: Should a change of the ssh port not automatically trigger a change in FirewallD ( or at least warn the user to change it manually)?
As far as I understand /usr/lib/firewalld/services/ssh.xml defines the default port, but could be overwritten by writing the right stuff in /etc/firewalld/services/ssh.xml ? So why not automatically create that file with the setting entered when changing the port?
Operating system Ubuntu Linux 16.04.4 Webmin version 1.881 Usermin version 1.741 Virtualmin version 6.02-3