Skip to content

Security package closes open SSHD ports #501

@mfeit-internet2

Description

@mfeit-internet2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions