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

Rob Sterenborg rob at sterenborg.info
Fri Nov 18 12:07:40 CET 2005


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





More information about the netfilter mailing list