Kenneth Oncinian wrote:
So does this mean that I need to define and use 2 queues?

Yes, that's what I do. One queue for outbound and another for inbound although I seem to recall someone (Henning?) saying that you could give the queues the same name thus making them at least look like only one queue.

ex:B

altq on $ext_if priq bandwidth 768Kb queue { http0, default }
queue http0 priority 10
queue default priq(default)

altq on $int_if priq bandwidth 768Kb queue { http1, default }
queue http1 priority 10
queue default priq(default)

pass out quick on $ext_if proto tcp from any to any port 8080 queue http0
pass out quick on $int_if proto tcp from any port 8080 to any queue http1


Yes, this looks fine to me except i would use $int_if:network instead of 'any' where applicable and use keep state, ie:


pass out ... from $int_if:network to any port 8080 queue http0 keep state pass out ... from any port 8080 to $int_if:network queue http1 keep state

---
Lars Hansson

Reply via email to