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.
不清楚是怎么回事?!
请大家帮忙下
请教Firewall配置
-
- 帖子: 7
- 注册时间: 2009-11-24 18:20
- 来自: http://qqww.wvpmx.com
- astolia
- 论坛版主
- 帖子: 6450
- 注册时间: 2008-09-18 13:11
Re: 请教Firewall配置
有可能是量太大,解析起来有点慢,然后这边通过dbus等待回应就超时了。直接重启服务试试。