Re: CentOS 7, systemd and firewall-cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Feb 25, 2015 at 2:39 PM, Earl A Ramirez <earlaramirez@xxxxxxxxx> wrote:
> On Wed, 2015-02-25 at 16:33 -0500, m.roth@xxxxxxxxx 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux