OpenSUSE 多播不工作?
我正在尝试通过受信任的 java applet 在 OpenSuSE 上进行多播 dns<->,但我在网络上查找任何内容的尝试都被默默阻止了!可能是什么问题?
I'm trying to do multicast dns on OpenSuSE through a trusted java applet<->, and my attempts to find anything on the network are silently blocked! What could be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
OpenSUSE 在安装过程中不会告诉您,但它默认启用防火墙来阻止多播操作。您必须禁用两个防火墙服务才能使多播正常工作,
即
OpenSUSE won't tell you during installation, but it enabled a firewall by default that will block multicast operations. You will have to disable the two firewall services to get multicast working properly, namely
and
原因确实是防火墙(正如 Stefan Kendall 所指出的)。如果您希望在不禁用防火墙的情况下修复此问题,请使用与默认区域不同的区域。例如,“home”区域没有此限制(或者至少我安装的 OpenSUSE Tumbleweed 没有)。我相信 NetworkManager 应该允许您基于每个网络选择防火墙区域。
编辑:“内部”区域也应该起作用。 “YaST 防火墙”可用于确认哪些区域可以工作,并在其他区域中启用它(查找“mdns”)。
The reason is indeed the firewall (as pointed out by Stefan Kendall). If you wish to fix this without disabling the firewall, use a different zone to the default. The "home" zone, for example, does not have this restriction (or at least my install of OpenSUSE Tumbleweed did not). I believe that NetworkManager should allow you to select a firewall zone on a per-network basis.
EDIT: the "internal" zone should also work. "YaST Firewall" can be used to confirm which zones will work and also enable it in other zones (look for "mdns").