All of lore.kernel.org
 help / color / mirror / Atom feed
* Could anyone, please, tell me what's wrong with this:
@ 2005-11-18 10:54 Anthony Azzopardi
  2005-11-18 11:07 ` Rob Sterenborg
       [not found] ` <437DB4B9.9040606@wp.pl>
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony Azzopardi @ 2005-11-18 10:54 UTC (permalink / raw)
  To: netfilter

|Hello ppl,

Could anyone, please, tell me what's wrong with this:

iptables -A FORWARD --match iprange --src-range 192.168.123.1 - 
192.168.123.99 -j DROP

It's giving me errors.

Thanks,
Anthony
|



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Could anyone, please, tell me what's wrong with this:
  2005-11-18 10:54 Could anyone, please, tell me what's wrong with this: Anthony Azzopardi
@ 2005-11-18 11:07 ` Rob Sterenborg
       [not found] ` <437DB4B9.9040606@wp.pl>
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Sterenborg @ 2005-11-18 11:07 UTC (permalink / raw)
  To: netfilter


On Fri, November 18, 2005 11:54, Anthony Azzopardi wrote:
> |Hello ppl,
>
> Could anyone, please, tell me what's wrong with this:
>
> iptables -A FORWARD --match iprange --src-range 192.168.123.1 -
> 192.168.123.99 -j DROP
>
> It's giving me errors.

And exactly *what* errors would that be ?

I'm guessing you need to delete the space between :
"192.168.123.1 - 192.168.123.99"

So it reads :
"192.168.123.1-192.168.123.99"


Gr,
Rob




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Could anyone, please, tell me what's wrong with this:
       [not found]   ` <437DB767.5050100@camline.net.mt>
@ 2005-11-18 11:26     ` Łukasz Hejnak
  0 siblings, 0 replies; 3+ messages in thread
From: Łukasz Hejnak @ 2005-11-18 11:26 UTC (permalink / raw)
  To: netfilter

Anthony Azzopardi napisa³(a):
> It gives >>
> No chain/target/match by that name !!!??
Then this is a completely different matter (altrough You _do_ need to 
delete those two spaces in that rule You posted)

And for this, ((You need to upgrade Your iptables (what iptables do You 
use??, try 'iptables -V')) or (add the 'iprange' match with some 
patch-o-matic)) and (enable them in Your kernel config file) and 
(finally recompile Your kernel).
  :)

--
Best wishes
£ukasz Hejnak


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-18 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-18 10:54 Could anyone, please, tell me what's wrong with this: Anthony Azzopardi
2005-11-18 11:07 ` Rob Sterenborg
     [not found] ` <437DB4B9.9040606@wp.pl>
     [not found]   ` <437DB767.5050100@camline.net.mt>
2005-11-18 11:26     ` Łukasz Hejnak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.