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