3
我在設備上運行openwrt,並有一個監聽並打印到239.2.1.1上的多播流量的python腳本。Openwrt允許多點傳送流量
但是沒有任何內容正在打印到屏幕上,我相信這是一個防火牆問題。 如何確保在運行openwrt的lan接口上允許組播流量?
我在設備上運行openwrt,並有一個監聽並打印到239.2.1.1上的多播流量的python腳本。Openwrt允許多點傳送流量
但是沒有任何內容正在打印到屏幕上,我相信這是一個防火牆問題。 如何確保在運行openwrt的lan接口上允許組播流量?
我知道這有點遲,但我想這會幫助仍在尋找答案的人。
在bin文件夾安裝IGMPProxy
install igmpproxy
make menuconfig
-> Network
-> Routing and Redirection
查找包這裏 AR9331 hardware:- bin/ar71xx/packages/base/igmpproxy_0.1-9_ar71xx.ipk
copy the ipk to openwrt router.
opkg install igmpproxy
/etc/init.d/igmpproxy start
確保您在/etc/config/firewall
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
拿到本節確保你得到了本節在/ etc/config/igm中pproxy
config igmpproxy
option quickleave 1
config phyint
option network wan
option direction upstream
list altnet 0.0.0.0/0
config phyint
option network lan
option direction downstream
確保以下網絡配置
In /etc/config/igmpproxy
config interface lan
option igmp_snooping 1
此外,在使BR-LAN
echo "0" > /sys/devices/virtual/net/br-lan/bridge/multicast_snooping