Skip to contentSkip to conversation

how to shape vpn tarffic based on pptp

LARTC Chandrashekhar Joshi 3 participants 4 messages Jan 15, 2002 – Jan 16, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 10 lines · Chandrashekhar Joshi

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#2 lore raw
In reply to Chandrashekhar Joshi

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

Quoted 16 lines · you

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

Quoted 7 lines · Chandrashekhar Joshi

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.

Quoted 7 lines
Quoted 3 lines

thanks
shekhar

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

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

#3 lore raw
In reply to Chandrashekhar Joshi

You can IMHO. u32 filter has "protocol" keyword. Use it with src 0/0

Quoted 30 lines · 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

Quoted 20 lines · you

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

Quoted 10 lines · Chandrashekhar Joshi

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

Quoted 9 lines
Quoted 3 lines

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

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

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