[CentOS] CentOS 7, systemd and firewall-cmd

Wed Feb 25 23:08:36 UTC 2015
Chris Murphy <lists at colorremedies.com>

On Wed, Feb 25, 2015 at 2:39 PM, Earl A Ramirez <earlaramirez at gmail.com> wrote:
> On Wed, 2015-02-25 at 16:33 -0500, m.roth at 5-cent.us wrote:
>> Chris Murphy wrote:
>> > firewall-cmd --add-service=rsyncd
>> >
>> firewall-cmd --add-service=rsyncd
>> Error: INVALID_SERVICE: rsyncd
>>
>> Is there another place that there needs to be an rsyncd service file,
>> whatever it's supposed to be named, *other* than where systemd wants it?
>>
>>       mark
>>
> You can also specify the port
> firewall-cmd --permanent --add-port=<rsync_port>/tcp

For what it's worth, anytime --permanent is used, the change is not
dynamic, firewalld needs to be restarted. So instead, do the command
twice, once with and once without --permanent. The order doesn't
matter.

-- 
Chris Murphy