- 论坛徽章:
- 0
|
我用的是红帽AS3自带的1.2.8版本的iptables
我下了补丁包进行了升级升重新安装了模块
==============模块如下===================
[root@localhost netfilter]# pwd
/lib/modules/2.4.21-20.EL/kernel/net/ipv4/netfilter
[root@localhost netfilter]# ls ipt_time.o
ipt_time.o
[root@localhost netfilter]# pwd
/lib/modules/2.4.21-20.EL/kernel/net/ipv4/netfilter
[root@localhost netfilter]# ll ipt_time.o
-rw-r--r-- 1 root root 3000 Jul 13 14:29 ipt_time.o
[root@localhost netfilter]#
[root@localhost netfilter]# ll ipt_iprange.o
-rw-r--r-- 1 root root 1896 Jul 13 14:29 ipt_iprange.o
===============但我操作的时候为什么出现这样的提示啊=======
是我的语法有问题吗?
还是其它什么原因?
[root@localhost root]# iptables -A OUTPUT -m time --timestart 8:00 --timestop 18:00 -j ACCEPT
iptables v1.2.9: TIME match: You must specify `--timestart --timestop and --days'
Try `iptables -h' or 'iptables --help' for more information.
----------------------------------------
[root@localhost root]# iptables -A FORWARD - iprange --src-range 192.168.11.5-192.168.11.180 -j ACCEPT
Bad argument `-'
Try `iptables -h' or 'iptables --help' for more information. |
|