Skip to contentSkip to conversation

Again,Bandwidth&htb

LARTC Eddie 3 participants 5 messages Jan 7, 2004 – Jan 9, 2004

lore
Share & tools
lore

Eddie

author
#0 lore raw

Good Day All
Just 2 questions on htb

1,My Wan link is on eth1 and my Lan on eth0,where do I put my htb on?I want to limit web serving and ftp ens.

2.Im going to use the u32 filter.Can I use sub-netting for IP,i.o.w where src is can I do 192.168.1.0/24?

Thanks and Please Help
Eddie

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 5 lines · Eddie

Good Day All
Just 2 questions on htb

1,My Wan link is on eth1 and my Lan on eth0,where do I put my htb on?I want to limit web serving and ftp ens.

eth1 for downloads from your web/ftp server
eth0 for uploads to your web/ftp server

Quoted 2 lines

2.Im going to use the u32 filter.Can I use sub-netting for IP,i.o.w where src is can I do 192.168.1.0/24?

Yes you can. See
http://docum.org/stef.coene/qos/docs/u32-filter.html

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#2 lore raw
In reply to Eddie

OK but how do I specify a range of ports,for examples 15000-15010 15000:15010??

Quoted 10 lines · Stef Coene

*This message was transferred with a trial version of CommuniGate(tm) Pro*

Quoted 5 lines · Eddie

Good Day All
Just 2 questions on htb

1,My Wan link is on eth1 and my Lan on eth0,where do I put my htb on?I want to limit web serving and ftp ens.

eth1 for downloads from your web/ftp server
eth0 for uploads to your web/ftp server

Quoted 6 lines
Quoted 2 lines

2.Im going to use the u32 filter.Can I use sub-netting for IP,i.o.w where src is can I do 192.168.1.0/24?

Yes you can. See
http://docum.org/stef.coene/qos/docs/u32-filter.html

Stef

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Eddie
Quoted 2 lines · Eddie

OK but how do I specify a range of ports,for examples 15000-15010 15000:15010??

You can't with u32. But you can use iptables to mark packets and filter the packets with the fw filter.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Eddie

Hi all,

1.) You can put in your internal interface to slow down the traffic.
2.) You set the filter by single ip or network.

[]´s
Anderson

Quoted 4 lines

Good Day All
Just 2 questions on htb

1,My Wan link is on eth1 and my Lan on eth0,where do I

put my htb on?I

Quoted 3 lines

want to limit web serving and ftp ens.

2.Im going to use the u32 filter.Can I use sub-

netting for IP,i.o.w

Quoted 8 lines

where src is can I do 192.168.1.0/24?

Thanks and Please Help
Eddie

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: ht

tp://lartc.org/

Quoted 1 line

__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/