Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Nov 2004 22:37:44 +0300
From:      Martes Wigglesworth <martes.wigglesworth@earthlink.net>
To:        ipfw-mailings <freebsd-ipfw@freebsd.org>
Subject:   Listing multiple subnets w/ specific host addresses..
Message-ID:  <1099856264.652.276.camel@Mobile1.276NET>

Next in thread | Raw E-Mail | Index | Archive | Help
Does anyone know how to list the following rule?  I am unable to find a
working example of such a declaration.

add log ip from any to \{ 192.168.1.0/24{a,b,c} or
192.168.2.0/24{d,e,f,g} \}

The backslash works while listing more than one interface at the end of
rules, however, whenever I use it as above, I get parenthesis errors. 
This current format give  the following error on the console:

> sudo ipfw add pass log ip from any to \{ 192.168.1.0/24 { 23,24,35,60
} or 192.168.2.0/24 { 24,25,26,50 }\}
ipfw: missing ")"

Thanks for the help. You guys have been so darn helpful in the last
couple of days.

-- 
Respectfully,


M.G.W.

System:
Asus M6N 
Intel Dothan 1.7
512MB RAM
40GB HD
10/100/1000 NIC
Wireless b/g (not working yet)
BSD-5.2.1
GCC-3.3.5/3.3.3(until I replace indigenous gcc)
IFORT-for linux(Intell Fortran)
gfortran
python-2.3
Perl-5.6.1/5.8.5
Java-sdk-1.4.2_5
KDE-3.1.4



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1099856264.652.276.camel>