nat and filtering rules
Ermal Luçi
eri at freebsd.org
Thu Mar 26 08:08:40 PDT 2009
Try the modified configuration it should give you what are you after.
altq on $int_if cbq bandwidth 10Mb queue { me, comp, mach, dd}
queue on $int_if comp bandwidth 2Mb cbq
queue on $int_if me bandwidth 5Mb cbq(borrow)
queue on $int_if mach bandwidth 2Mb cbq
queue on $int_if dd bandwidth 1Mb cbq(default borrow)
altq on $ext_if cbq bandwidth 10Mb queue { me, comp, mach, dd}
queue on $ext_if comp bandwidth 2Mb cbq
queue on $ext_if me bandwidth 5Mb cbq(borrow)
queue on $ext_if mach bandwidth 2Mb cbq
queue on $ext_if dd bandwidth 1Mb cbq(default borrow)
block all
pass in on $int_if from $me to any queue me
pass in on $int_if from $mach to any queue mach
pass in on $int_if from $mach to any queue mach
--
Ermal
More information about the freebsd-pf
mailing list