分页: 1 / 1

请教Firewall配置

发表于 : 2017-11-28 22:24
kkfgef
firewall,请问如何指定一些ip段访问指定端口?
复制了ssh.xml到了/etc/firewalld/services此目录下(<service name="ssh"/> 也添加到了public.xml)
<rule family="ipv4">
<source address="12.16.1.0/22"/>
<service name="ssh"/>
<accept/>
</rule>
似乎这样的添加几千条后,要重新载入firewall-cmd --complete-reload
就出现问题了
ERROR:dbus.proxies:Introspect error on :1.30:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
不清楚是怎么回事?!
请大家帮忙下

Re: 请教Firewall配置

发表于 : 2017-11-29 20:09
astolia
有可能是量太大,解析起来有点慢,然后这边通过dbus等待回应就超时了。直接重启服务试试。