• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1016
  • Last Modified:

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?
0
schnibitz
Asked:
schnibitz
  • 2
1 Solution
 
gheistCommented:
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.
0
 
QlemoC++ DeveloperCommented:
Not necessarily. The recommended protocol is UDP, not TCP.
0
 
schnibitzAuthor Commented:
0
 
schnibitzAuthor Commented:
Question is solved in another question I opened up.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now