|
|
本帖最后由 99010 于 2024-6-5 00:20 编辑
- #网络---->接口---->设备,br_lan,配置---->高级设备选项,勾选“启用 IGMP 嗅探”
- uci set network.@device[0].igmp_snooping=1
- uci commit network
- #网络---->接口,添加新接口iptv,设备选eth1,不配置协议,高级设置、不要勾选使用默认网关,防火墙自定义iptv
- uci set network.iptv=interface
- uci set network.iptv.device=eth1
- uci set network.iptv.proto=none
- uci set network.iptv.defaultroute=0
- uci commit network
- #网络---->防火墙,常规设置,区域,iptv,编辑----->入站数据、接受,出站数据、接受,转发、拒绝,IP 动态伪装、打勾,MSS 钳制、打勾
- uci add firewall zone
- uci set firewall.@zone[-1].name=iptv
- uci set firewall.@zone[-1].input=ACCEPT
- uci set firewall.@zone[-1].output=ACCEPT
- uci set firewall.@zone[-1].forward=REJECT
- uci set firewall.@zone[-1].masq=1
- uci set firewall.@zone[-1].mtu_fix=1
- uci set firewall.@zone[-1].network=iptv
- uci commit firewall
- udpxy
- 绑定 IP/接口192.168.2.3
- 源 IP/接口 eth1
复制代码 |
|