Throttle VPN connection?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
cwhitmore
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 22, 2011 4:04 am

Throttle VPN connection?

Post by cwhitmore » Tue Apr 26, 2011 2:14 pm

I've been using OpenVPN for the compression benefits only, but is there a way to throttle the throughput of this connection? I copy files to our secondary site and sometimes the copy runs into work hours. Is there a way to limit the bandwidth usage during business hours?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Throttle VPN connection?

Post by janjust » Tue Apr 26, 2011 2:24 pm

for uploading from a client to the server, use

Code: Select all

shaper N
although this option does not work very well for Linux clients. For downloading files from the server , use a tool like 'tc' on the server (and/or read up on Linux Advanced Routing & Traffic Control aka LARTC). For a Windows server it is damn near impossible to throttle the download speeds without using third-party tools.

Post Reply