Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 11:17:38 +0300
From:      Jara <hugle@vkt.lt>
To:        freebsd-questions@freebsd.org
Subject:   Re: error when use table option with ipfw
Message-ID:  <663380839.20050823111738@vkt.lt>
In-Reply-To: <163971811.20050823111033@spaingsm.com>
References:  <163971811.20050823111033@spaingsm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
$cmd add 700 count ip from table'(1)' to any via $lif

Jarek
---------------------------------------
> Hi!
> 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 192.168.0.0/24
> $cmd table 1 add 192.168.2.0/24
> $cmd table 1 add 192.168.3.0/24
> $cmd table 1 add 192.168.4.0/24

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

> When i run the script i receive an error about syntax error
> "ipfw.sh: 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.


> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to
> "freebsd-ipfw-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?663380839.20050823111738>