<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
joachim wrote:<br>
<blockquote type="cite"
cite="mid6.1.1.1.2.20040601114351.01c19cb0@212.123.25.151"><br>
Daniel, <br>
<br>
Do you have a working firewall ruleset for HTB, optimized for voip
?<br>
</blockquote>
<br>
No but you can build your own following htb tutorial.<br>
<br>
Daniel<br>
<br>
<br>
<blockquote type="cite"
cite="mid6.1.1.1.2.20040601114351.01c19cb0@212.123.25.151"><br>
Joachim. (Zoa)<br>
<br>
<br>
<br>
<br>
At 10:55 1/06/2004, you wrote:<br>
<blockquote type="cite" class="cite" cite="">Hi Carlos,<br>
<br>
Try HTB. It is better than CBQ, requires less CPU and have a better
help:<br>
<br>
<a href="http://luxik.cdi.cz/%7Edevik/qos/htb/">http://luxik.cdi.cz/~devik/qos/htb/</a><br>
<br>
Daniel<br>
<br>
Carlos Arnt wrote:<br>
<blockquote type="cite" class="cite" cite=""><br>
Hi all,<br>
<br>
<br>
<br>
Reading about CBQ on internet i can say "I dont understand
well" ;)<br>
<br>
So anyone that has a good background can help me out with this simple
question ?<br>
<br>
<br>
<br>
I just want priorize my UDP packets to always has 90% of my link when
use
a VOIP<br>
<br>
connection with asterisk.<br>
<br>
<br>
<br>
My asterisk run in the same machine then my firewall.<br>
<br>
<br>
<br>
How then can i :<br>
<br>
<br>
<br>
1 - Mark the packets with iptables then i will know TCP and UDP packets
then come in and out<br>
<br>
2 - Use CBQ to put a prio=1 in the UDP Packets then i will always know
that when a VOIP conn start will<br>
<br>
always have the best rate of my link.<br>
<br>
<br>
<br>
I think i know how mark the packets with the Iptables.<br>
<br>
<br>
<br>
iptables -t mangle -A PREROUTING -p tcp -j MARK --set-mark 9000<br>
<br>
iptables -t mangle -A PREROUTING -p udp -j MARK --set-mark 9002<br>
<br>
<br>
<br>
and<br>
<br>
<br>
<br>
iptables -t mangle -A OUTPUT -p tcp -j MARK --set-mark 9001<br>
<br>
iptables -t mangle -A OUTPUT -p udp -j MARK --set-mark 9003<br>
<br>
<br>
<br>
I think that i mark all UDP and TCP packets.<br>
<br>
<br>
<br>
So i just need use a CBQ RUle (Now it's the worst) <br>
<br>
Honestly i dont know ..<br>
<br>
<br>
<br>
So let's see.<br>
<br>
<br>
<br>
DEVICE=eth0,10Mbit,1Mbit<br>
<br>
RATE=112Kbit<br>
<br>
WEIGHT=1Kbit<br>
<br>
MARK=9000<br>
<br>
<br>
<br>
etc etc<br>
<br>
<br>
<br>
I use an 256kbits(Down) - 128Kbits(Up) ADSL connection<br>
<br>
<br>
<br>
Then i have PPP0 and my eth1 for my internet net.<br>
<br>
<br>
<br>
Just need put the best priority to all UDP Packets forcing the rest of
services like<br>
<br>
SMTP/POP3./HTTP etc that use TCP in the low priority<br>
<br>
<br>
<br>
Can anyone help me ? Because i think my Voip has a poor quality because
this (Heavy use of mail and http services).<br>
<br>
<br>
<br>
Thanks alot for helping out.<br>
<br>
<br>
<br>
Carlos<br>
<br>
<br>
<br>
<br>
<br>
I<br>
_______________________________________________ Asterisk-Users mailing
list
<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
eudora="autourl">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit: <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</blockquote>
_______________________________________________ Asterisk-Users mailing
list <a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a> <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
eudora="autourl">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit: <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
eudora="autourl">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</blockquote>
</blockquote>
</body>
</html>