Link to home
Start Free TrialLog in
Avatar of schnibitz
schnibitz

asked on

Traffic Shaping On OpenVPN

Hi there, I'm looking to set up traffic shaping on OpenVPN.  I'm aware that Openvpn has it's own shaper built-in, which is great, but I'd like to shape the traffic using tc (or any equivalent).

The idea is that I want to allow each connection to the service to get a set amount of bandwidth, lets say 1mbps or so upload and download.  This way user1 will have 1mbs, and user2 will have 1mbps roughly speaking.

I tried shaping based on the private IP address assigned by OpenVPN when the user connects but I haven't been able to get that working.

How is this accomplished?
Avatar of gheist
gheist
Flag of Belgium image

OpenVPN uses TCP connections to connetc  to OpenVPN server. You can balance those. Otherwise it has so huge buffers that shaping is of almost no use.
Avatar of Qlemo
Not necessarily. The recommended protocol is UDP, not TCP.
ASKER CERTIFIED SOLUTION
Avatar of schnibitz
schnibitz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of schnibitz
schnibitz

ASKER

Question is solved in another question I opened up.