I'm trying to add ftp service to firewalld, and every time I run firewall-cmd --add-service=ftp
(this is with out the permanent flag) I get Error: COMMAND_FAILED
.
If I run firewall-cmd --permanent --add-service=ftp
(this is with the permanent flag), it returns success
.
However after I reload the service I can't connect via ssh until I disable firewalld over rescue mode.
I'm not trying to open ssh's port. I'm just stating that I lose access to the server after running firewall-cmd --permanent --add-service=ftp
and then reload with firewall-cmd --reload
.