On 03/10/2011 02:06 PM, suseTOMA wrote:
>
> hey there everybody,
>
> i’ve an issue in a firewall command i hope u help me on.
>
> when i try to type the following firewall command:
> iptables -A INPUT -s xxx.xxx.xxx.xxx -dport 8000:9000 -p tcp -j ACCEPT
>
> it gives me:
> Bad argument 8000:9000
>
> it complaints about the port range and i cant see in problems in that.
> i also tried to change the order of the options but it never worked.
>
> one other thing,
> why it don’t allow me to add -sport option in the above command?
>
> thank u very much,
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/