请教Firewall配置

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
kkfgef
帖子: 7
注册时间: 2009-11-24 18:20
来自: http://qqww.wvpmx.com

请教Firewall配置

#1

帖子 kkfgef » 2017-11-28 22:24

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.
不清楚是怎么回事?!
请大家帮忙下
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: 请教Firewall配置

#2

帖子 astolia » 2017-11-29 20:09

有可能是量太大,解析起来有点慢,然后这边通过dbus等待回应就超时了。直接重启服务试试。
回复