version 1.4, 2019/04/09 09:56:37
|
version 1.5, 2019/04/10 16:21:53
|
Line 18 You'll need to make sure your kernel sup
|
Line 18 You'll need to make sure your kernel sup
|
|
|
# Enabling ALTQd |
# Enabling ALTQd |
|
|
You'll need to create an empty `/etc/altqd.conf` file for starters, then edit your `/etc/rc.conf` and add a line at the bottom that says `altqd=yes`. Reboot or run `/etc/rc.d/altqd start` |
You'll need to create an empty `/etc/altq.conf` file for starters, then edit your `/etc/rc.conf` and add a line at the bottom that says `altqd=yes`. Reboot or run `/etc/rc.d/altqd start` |
|
|
|
|
|
|
|
|
# Now configure it |
# Now configure it |
|
|
You now want to setup your `altqd` classes and filters. The class tells `altqd` what kind of traffic shaping you want to do. There are about five different types and they all have their uses for various situations. In my case I knew that SIP traffic was all UDP, and since people are mostly too stupid these days to use FTP or other non-web services that also use UDP (after all "the web == internet" right?), I didn't bother with any kind of complex filters. I would notice that SIP audio quality would fall anytime people were really cranking on web pages and downloading stuff. So here is what I used in my `/etc/altqd.conf` |
You now want to setup your `altqd` classes and filters. The class tells `altqd` what kind of traffic shaping you want to do. There are about five different types and they all have their uses for various situations. In my case I knew that SIP traffic was all UDP, I didn't bother with any kind of complex filters. I would notice that SIP audio quality would fall anytime people were really cranking on web pages and downloading stuff. So here is what I used in my `/etc/altq.conf` |
|
|
|
|
|
|