Hello,

I run a managed colocation service out of a tier 1 data center where bandwidth is a non-issue (I don't even know what the real limits on bandwidth are because I'm right on a backbone so the speeds are different depending on which network we transcend). All of my dedicated servers run behind a FreeBSD 6.2 firewall/router/name server running on pf which provides 1:1 NAT for each machine on the private network. The system runs incredibly well and I'm very happy with the performance. In order to improve the delivery of certain services, however, I recently decided to experiment with some queuing rules. I've read the docs and experimented with some rulesets but I believe I am missing something. I don't care about bandwidth numbers and I'm afraid to even set them because I don't want to impose limits on my bandwidth.

Specifically, there are a couple scenarios I need help with:
1) Asterisk server inside the colo with a bunch of IAX clients on the outside; IAX sends/receives on a single udp port (4569, I believe). I need to give these packets really high priority. 2) Web servers inside the colo, traffic comes in on ports 80 or 443 but leaves on random ports. I'd like to prioritize web server traffic so as to provide the highest throughput on file downloads.

For both scenarios, you can assume the following config:
1) Machine has two interfaces, $ext_if and $int_if
2) Servers (asterisk, web) reside inside the private network (192.168.1.100, for example)

Can someone suggest the best and proper scheduler, rule setup, etc. for these two example scenarios?

Thanks!

Daniel

Reply via email to