I have some VMs that, out of necessity, has SSHD set up to listen on a port other than 22. When installing the security package, the firewall opens 22 and blocks anything else, which breaks the Ansible playbook being used to configure the system.
As a workaround, I wrote a script that pulls the running SSHD's listening ports and opens them, which should be considered as an addition to the security package:
https://github.com/perfsonar/testbed-pve/blob/main/ansible/assets/perfsonar/firewalld-open-ssh-ports
I may also add this as an option to the auto-installer.
I have some VMs that, out of necessity, has SSHD set up to listen on a port other than 22. When installing the security package, the firewall opens 22 and blocks anything else, which breaks the Ansible playbook being used to configure the system.
As a workaround, I wrote a script that pulls the running SSHD's listening ports and opens them, which should be considered as an addition to the security package:
https://github.com/perfsonar/testbed-pve/blob/main/ansible/assets/perfsonar/firewalld-open-ssh-ports
I may also add this as an option to the auto-installer.