hello everybody, can anyone shed some light on howto shape pptp based vpn traffic using htb. that is allowing say "x kbps" to other internet services and "y kbps" to pptp based vpn traffic with each class capable of borrowing from the other incase of less traffic on either side. thanks shekhar
Joshi, did you read FAQ or HTB man ? It should be clear to you .. Onlt difference it that you will have to determine PPTP''s port number. devik On Tue, 15 Jan 2002, Chandrashekhar Joshi wrote:> hello everybody, > > can anyone shed some light on howto shape pptp based vpn traffic using htb. > that is allowing say "x kbps" to other internet services and "y kbps" to > pptp based vpn traffic with each class capable of borrowing from the > other incase of less traffic on either side. > > thanks > shekhar >
Hi! PPTP uses the GRE protocol (protocol 47, TCP is number 6 and UDP is 17) and TCP port 1723. I don''t think you can shape GRE with CBQ-based traffic shaping (or can you?). I don''t know if the payload goes through GRE though, so that may be a smaller problem. /Fredrik At 11:26 2002-01-16 +0100, you wrote:>Joshi, > >did you read FAQ or HTB man ? It should be clear to you .. >Onlt difference it that you will have to determine PPTP''s >port number. >devik > >On Tue, 15 Jan 2002, Chandrashekhar Joshi wrote: > > > hello everybody, > > > > can anyone shed some light on howto shape pptp based vpn traffic using htb. > > that is allowing say "x kbps" to other internet services and "y kbps" to > > pptp based vpn traffic with each class capable of borrowing from the > > other incase of less traffic on either side. > > > > thanks > > shekhar > > > >_______________________________________________ >LARTC mailing list / LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
You can IMHO. u32 filter has "protocol" keyword. Use it with src 0/0 On Wed, 16 Jan 2002, Fredrik [iso-8859-1] Björk wrote:> Hi! > > PPTP uses the GRE protocol (protocol 47, TCP is number 6 and UDP is 17) and > TCP port 1723. I don''t think you can shape GRE with CBQ-based traffic > shaping (or can you?). I don''t know if the payload goes through GRE though, > so that may be a smaller problem. > > /Fredrik > > At 11:26 2002-01-16 +0100, you wrote: > >Joshi, > > > >did you read FAQ or HTB man ? It should be clear to you .. > >Onlt difference it that you will have to determine PPTP''s > >port number. > >devik > > > >On Tue, 15 Jan 2002, Chandrashekhar Joshi wrote: > > > > > hello everybody, > > > > > > can anyone shed some light on howto shape pptp based vpn traffic using htb. > > > that is allowing say "x kbps" to other internet services and "y kbps" to > > > pptp based vpn traffic with each class capable of borrowing from the > > > other incase of less traffic on either side. > > > > > > thanks > > > shekhar > > > > > > >_______________________________________________ > >LARTC mailing list / LARTC@mailman.ds9a.nl > >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ > >