|
最近把用了 10 年的电信换为了移动,光猫改为了桥接,OpenWrt 拨号。有无大佬知道如何实现 单线复用 & 双线 IPTV。
尝试过以下配置,但仍无法播放:
组播地址来源:四川移动组播地址
OpenWrt 配置
Wan 口配置
config interface 'wan'
option proto 'pppoe'
option device 'eth2.101'
option username 'xxxxxx'
option password 'xxxxxx'
option ipv6 'auto'
IPTV 口配置
config interface 'IPTV'
option proto 'dhcp'
option device 'eth2.102'
其他 VLAN (ID: 102)
config device
option type '8021q'
option ifname 'eth2'
option vid '102'
option name 'eth2.102'
上网 VLAN (ID: 101)
config device
option type '8021q'
option ifname 'eth2'
option vid '101'
option name 'eth2.101'
omcproxy 配置
防火墙 配置
config rule
option src 'iptv'
option name 'Allow-IGMP-IPTV'
list proto 'icmp'
option target 'ACCEPT'
config rule
option src 'iptv'
option dest 'lan'
option name 'Allow-Multicast-IPTV'
list proto 'udp'
list dest_ip '239.0.0.0/8'
option target 'ACCEPT'
config zone
option name 'iptv'
option input 'ACCEPT'
option forward 'ACCEPT'
option output 'ACCEPT'
option masq '1'
光猫 配置
- 模式: 桥接
端口绑定: 无
业务模式: 互联网
Vlan 模式: 改写 Tag
VlanID: 101
- 模式: 桥接
端口绑定: 无
业务模式: 其他
Vlan 模式: 改写 Tag
VlanID: 102
绑定模式
LAN1 101/102
|