error when use table option with ipfw

vladone vladone at
Tue Aug 23 08:10:36 GMT 2005

I try to use table option but not work.
First, i use Freebsd 5.4 release.
In short i have:
cmd="ipfw -q"

$cmd table 1 add
$cmd table 1 add
$cmd table 1 add
$cmd table 1 add

$cmd add 700 count ip from table(1) to any via $lif

When i run the script i receive an error about syntax error " 78: Syntax error: "(" unexpected".
I dont understand where is error?
Need some compiler options to work with this option?
If i give:
#ipfw table 1 list
i have list of entries in this table without any error.

More information about the freebsd-questions mailing list