版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明
( 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 reject
tcpdump -l -i br-lan "((arp or icmp) or (udp and port 53 and host 192.168.2.244))"