[CentOS] CentOS 7, systemd and firewall-cmd
Chris Murphy
lists at colorremedies.com
Wed Feb 25 23:07:04 UTC 2015
I'm on Fedora 22 Server which has this already:
# cat /usr/lib/firewalld/services/rsyncd.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Rsync in daemon mode</short>
<description>Rsync in daemon mode works as a central server, in
order to house centralized files and keep them
synchronized.</description>
<port protocol="tcp" port="873"/>
<port protocol="udp" port="873"/>
</service>
And also:
# dnf provides /usr/lib/firewalld/services/rsyncd.xml
Using metadata from Wed Feb 25 12:01:25 2015
firewalld-0.3.13-2.fc22.noarch : A firewall daemon with D-Bus
interface providing a dynamic firewall
Repo : @System
So I can't tell you if this will work in your case and if there's some
way within firewall-cmd to create these service files or not.
Chris Murphy
More information about the CentOS
mailing list