标签:option network conf 交换 net iptv rgb down isp
交换机配置:
创建IPTV接口:
IPTV跃点设置为20,防止上网走这个端口。
igmpproxy 配置:
config igmpproxy option quickleave 1//使能quickleave config phyint option network IPTV//上行端口,也就是路由要连接modem,具体数字因人而异 option direction upstream//配置为上行端口 list altnet 0.0.0.0/0 config phyint option network br-lan//下行端口的名称,这里我在vlan分配了两个物理端口,并配成桥连。 option direction downstream//配置为下行端口
防火墙配置:
config rule option target ‘ACCEPT‘ option proto ‘udp‘ option name ‘IPTV-DHCP‘ option family ‘ipv4‘ option dest_port ‘68‘ option src ‘IPTV‘ config rule option target ‘ACCEPT‘ option name‘IPTV-IGMP‘ option family ‘ipv4‘ option proto ‘igmp‘ option src ‘IPTV‘ config rule option target ‘ACCEPT‘ option dest ‘lan‘ option name ‘ALLOW-MULTICAST‘ option proto ‘udp‘ option dest_ip ‘239.0.0.0/8‘ option family ‘ipv4‘ option src ‘IPTV‘ config rule option name ‘udpxy‘ option src ‘IPTV‘ option proto ‘udp‘ option dest_ip ‘239.0.0.0/8‘ option target ‘ACCEPT‘ option family ‘ipv4‘
udpxy配置:
命令行:
udpxy -m eth0.3 -a br-lan -p 4022 -B 2Mb
标签:option network conf 交换 net iptv rgb down isp
原文地址:https://www.cnblogs.com/yylei/p/14687127.html