当前位置: 代码迷 >> 综合 >> Kids are forbidden to watch TV after school (by quqi99)
  详细解决方案

Kids are forbidden to watch TV after school (by quqi99)

热度:77   发布时间:2023-12-13 08:50:30.0

作者:张华 发表于:2022-03-30

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明
( http://blog.csdn.net/quqi99 )

iptables -I FORWARD -s 192.168.2.244 -m time --timestart 17:00 --timestop 22:00 --kerneltz -j DROP
iptables -I FORWARD -s 192.168.2.244 -m time --timestart 17:00 --timestop 22:00 --kerneltz -p udp --dport 53 -j DROP
iptables -I INPUT -s 192.168.2.244 -m time --timestart 17:00 --timestop 22:00 --kerneltz -j rejecttcpdump -l -i br-lan "((arp or icmp) or (udp and port 53 and host 192.168.2.244))"
  相关解决方案