共计 1032 个字符,预计需要花费 3 分钟才能阅读完成。
光猫 — 路由器 —pc
其中光猫的 iptv 接口连接路由器的 eth1
参考 https://www.ilovn.com/2021/09/11/guangdong-iptv-ikuai-openwrt-udpxy/ 这个帖子
eth1 配置 dhcp,并填入了 vendor class,能够成功获取 ip 地址
udpxy 已经安装,http://192.168.10.1:8888/status 能看到结果
防火墙 eth1 单独一个 iptv zone,允许 input/output
在 potplayer 打开 http://192.168.10.1:8888/rtp/239.0.1.101:8004,看不到内容
路由器上用 tcpdump 抓包,看到有加入 multicast group 的包
root@OpenWrt:~# tcpdump -i eth1 igmp -n -X
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
00:40:47.384857 IP 10.31.80.102 > 224.0.0.22: igmp v3 report, 1 group record(s)
0x0000: 46c0 0028 0000 4000 0102 a974 0a1f 5066 F..([email protected]
0x0010: e000 0016 9404 0000 2200 e998 0000 0001 ........".......
0x0020: 0400 0000 ef00 0165 .......e
00:40:48.145838 IP 10.31.80.102 > 224.0.0.22: igmp v3 report, 1 group record(s)
0x0000: 46c0 0028 0000 4000 0102 a974 0a1f 5066 F..([email protected]
0x0010: e000 0016 9404 0000 2200 e998 0000 0001 ........".......
0x0020: 0400 0000 ef00 0165 .......e
但是没有回包。
排查思路
1、防火墙设置问题,eth1 所在的 iptv zone 允许 input 数据
2、联通还要进行其他认证?
3、udproxy 并不需要 iptv zone 转发到 lan
4、开启 iptv zone 的防火墙日志,但是找不到日志的位置。
正文完