- 论坛徽章:
- 0
|
按时间来匹配P2P的限制该怎么写?白金老大来看
[root@gateway rc.d]# iptables -A FORWARD -m time --timestart 8:15 --timestop 22:00 --days Mon,Tue,Wed,Thu,Fri,Sat,Sun -m ipp2p --edk --kazaa --bit -j DROP 。。。[root@gateway rc.d]# iptables -A FORWARD -m ipp2p --edk --kazaa --bit -m time --timestart 8:15 --timestop 22:00 --days Mon,Tue,Wed,Thu,Fri,Sat,Sun -j DROP
iptables v1.3.1:
ipp2p-parameter problem: for ipp2p usage type: iptables -m ipp2p --help
Try `iptables -h' or 'iptables --help' for more information.
[root@gateway rc.d]#
这是两种组合
ipp2p 放前面就是语法参数错误
放后面就没有错误 但是没效果 无效 |
|