On Sun, Dec 31, 2006 at 05:39:26AM +0000, sukaca wrote: > dear all > > i just configure pf+altq > and got error masssage > > this my config > > ext_if="lnc0" # replace with actual external interface name i.e., dc0 > int_if="lnc0" # replace with actual internal interface name i.e., dc1 > internal_net1="10.10.1.1/24" > internal_net2="10.10.2.1/24" > > altq on lnc0 cbq bandwidth 128Kb queue { internal_net1, internal_net2 } > queue internal_net2 bandwidth 64Kb cbq(default borrow) > queue internal_net1 bandwidth 64Kb cbq(red borrow) > > pass out on lnc0 from any to any queue (internal_net1, internal_net2) > pass in on lnc0 from any to any queue (internal_net1, internal_net2) > > nat on lnc0 from 10.10.1.0/24 to any -> 124.81.224.194 > nat on lnc0 from 10.10.2.0/24 to any -> 124.81.224.194 > > the error is > > pfctl -f /etc/pf.conf > /etc/pf.conf:13: Rules must be in order: options, normalization, queueing, > translation, filtering > /etc/pf.conf:14: Rules must be in order: options, normalization, queueing, > translation, filtering > pfctl: Syntax error in config file: pf rules not loaded > > where is my wrong > and what should i do you should read the docmentation. start at http://www.openbsd.org/faq/pf/, http://www.freebsd.org/handbook/ and pf.conf(5).
please read the documentation before asking such questions. > > thanks and regard > > vicky > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Bye, Gergely Czuczy mailto: [EMAIL PROTECTED] -- Weenies test. Geniuses solve problems that arise.
pgpIZ1hXa1yLg.pgp
Description: PGP signature