![多播和 iptables:故障排除?](https://rvso.com/image/568240/%E5%A4%9A%E6%92%AD%E5%92%8C%20iptables%EF%BC%9A%E6%95%85%E9%9A%9C%E6%8E%92%E9%99%A4%EF%BC%9F.png)
我已經獲得了一個linux盒子,從
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
新增規則以啟用特定協定和流之後。
- 新增多播支援的正確規則是什麼?
我正在嘗試使用這些 - 對於客戶端和伺服器多播:
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A OUTPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT --protocol igmp -j ACCEPT
iptables -A OUTPUT --protocol igmp -j ACCEPT
iptables -A INPUT --dst "224.0.0.0/4" -j ACCEPT
iptables -A OUTPUT --dst "224.0.0.0/4" -j ACCEPT
Linux 2.6.38-12 / iptables 1.4.10
- 有沒有任何網路服務可以測試我的多播集(PC + adsl 路由器 + 供應商)?
答案1
全球網路上的多播並不存在,它只是單播。
如果您想測試多播位址,請在您自己的網路中設定它。