The firewall page in cluster admin shows removed ports

Thanks, now I got it.

EDIT:

After changing sshd port from 2222 to 2019 both ports are shown on the firewall page:

EDIT2:

The ports are still in the service and should be removed from there, so I’m again unsure if it’s really a bug.

root@contabo:~# firewall-cmd --info-service=ssh
ssh
  ports: 2222/tcp 2019/tcp
  protocols: 
  source-ports: 
  modules: 
  destination: 
  includes: 
  helpers: 

See also the code on Github.

EDIT3:

After removing the port from the service…

root@contabo:~# firewall-cmd --permanent --service=ssh --remove-port=2222/tcp
success
root@contabo:~# firewall-cmd --reload
success

…it’s also removed on the firewall page.

Thanks @LayLow for pointing out that issue. I switched from bug to support because the firewall page is ok and showing things correctly.

1 Like