Hi
before change my config, i want know if it''s good :
I want add Qos and bandwitch management to my linux gateway
running with Shorewall 3.2.1. I want reserve 512Kbs/256Kbs to
my asterisk.
i have :
in tcdevice :
ppp0 8000kbit 512kbit
in tcclasses:
#INTERFACE MARK RATE CEIL PRIORITY OPTIONS
ppp0 1 256kbit full 1
ppp0 2 256kbit 4000kbit 2 default
in tcrules:
#MARK SOURCE DEST PROTO PORT(S) CLIENT
USER
# PORT(S)
1 0.0.0.0/0 213.XX.XX.XX/X udp 4569
2 192.168.168.0/24 0.0.0.0/0 all
and in shorewall.conf:
TC_ENABLED=Internal
CLEAR_TC=Yes
It''s correct for reserve 512Kbs/256Kbs to udp 4631 ?
Thanks bye
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net''s Techsay panel and you''ll get the chance
to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Noc Phibee wrote:> Hi > > before change my config, i want know if it''s good : > > I want add Qos and bandwitch management to my linux gateway > running with Shorewall 3.2.1. I want reserve 512Kbs/256Kbs to > my asterisk. > > i have : > > in tcdevice : > ppp0 8000kbit 512kbit > > > in tcclasses: > > #INTERFACE MARK RATE CEIL PRIORITY OPTIONS > ppp0 1 256kbit full 1 > ppp0 2 256kbit 4000kbit 2 default > > > > in tcrules: > > #MARK SOURCE DEST PROTO PORT(S) CLIENT USER > # PORT(S) > 1 0.0.0.0/0 213.XX.XX.XX/X udp 4569 > 2 192.168.168.0/24 0.0.0.0/0 allPlease read the warnings in the tcrules documentation. Those two rules are almost certain to be in the wrong order. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV