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?
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?
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.
Not necessarily. The recommended protocol is UDP, not TCP.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Question is solved in another question I opened up.