Listing multiple subnets w/ specific host addresses..
Martes Wigglesworth
martes.wigglesworth at earthlink.net
Sun Nov 7 11:37:39 PST 2004
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
More information about the freebsd-ipfw
mailing list