Re: iprange match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 11, 2005 at 12:36:31PM -0600, Jorge I. Davila L. wrote:
> well .. the complete rule:
> 
> iptables -A OUTPUT -p tcp -m iprange \
> --src-range 192.168.223.1-192.168.223.2 \
> -j ACCEPT
> 
> iptables: No chain/target/match by that name

i don't think this is an answer any usefull to anybody. In any case I'm not
familiar with -m iprange but your rule works for me:

root@bluff:~# iptables -v -A OUTPUT -p tcp -m iprange --src-range 192.168.223.1-192.168.223.2
  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  source IP range 192.168.223.1-192.168.223.2

So I guess your problem is not in the syntax. Some missing kernel-modules?

sandro
*:-)


-- 
Sandro Dentella  *:-)
e-mail: sandro@xxxxxxxx 
http://www.tksql.org                    TkSQL Home page - My GPL work


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux