What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Files Transfer speed Openvpn server/client

osker246

Occasional Visitor
I need a little help trying to figure out if I am doing something wrong with my openvpn setup because I am experiencing slow transfer speeds. I have two RT-AC68U's setup at remote locations, one acts as a openvpn server and one as a client. Both the client and server are on a 100/10 Mbps connection, one on Comcast and the other with Cox. I am essentially using the Openvpn server to do automated backups between 2 unRAID servers. I have the openvpn server on a TAP interface type, which allows me to see other devices on the remote network via windows explorer. I am experiencing very slow file transfer speeds, like 700 KB/s when trying to download a 300MB file from the remote server. I can't even get photo thumbnails to load when I try to access the remote server. I've even tried this on a TUN interface with the same results. Is this a normal speed that I should be experiencing?
 
I need a little help trying to figure out if I am doing something wrong with my openvpn setup because I am experiencing slow transfer speeds. I have two RT-AC68U's setup at remote locations, one acts as a openvpn server and one as a client. Both the client and server are on a 100/10 Mbps connection, one on Comcast and the other with Cox. I am essentially using the Openvpn server to do automated backups between 2 unRAID servers. I have the openvpn server on a TAP interface type, which allows me to see other devices on the remote network via windows explorer. I am experiencing very slow file transfer speeds, like 700 KB/s when trying to download a 300MB file from the remote server. I can't even get photo thumbnails to load when I try to access the remote server. I've even tried this on a TUN interface with the same results. Is this a normal speed that I should be experiencing?
What level of encryption are you using?
 
I just realized that I may have overlooked the fact that 700 KB/s = 5.6 Mbps. So transfer speeds are not as slow as I initially thought. Are there any known ways to increase transfer speeds though? It would be nice to saturate my upload bandwidth if possible.
 
As an experiment you could disable Cipher Negotiation, set Legacy/fallback cipher to None and disable Compression.

That should produce a minimal load on the CPU allowing you to see what the maximum throughput could be. Then start playing around with the compression and encryption options. You might find that just changing the compression or cypher (to something like AES-128-CBC) has a big effect.
 
As an experiment you could disable Cipher Negotiation, set Legacy/fallback cipher to None and disable Compression.

That should produce a minimal load on the CPU allowing you to see what the maximum throughput could be. Then start playing around with the compression and encryption options. You might find that just changing the compression or cypher (to something like AES-128-CBC) has a big effect.

Well I tried messing around with the settings and it looks like I may be SOL. Even with compression and encryption disabled, file transfers still end up leveling out at 700 KB/s. Thanks for the suggestion though!
 
Well I tried messing around with the settings and it looks like I may be SOL. Even with compression and encryption disabled, file transfers still end up leveling out at 700 KB/s. Thanks for the suggestion though!
Did you monitor the CPU load (at both ends) whilst the transfer was in progress? Maybe our assumptions are wrong and it's not being CPU bound.
 
I need a little help trying to figure out if I am doing something wrong with my openvpn setup because I am experiencing slow transfer speeds. I have two RT-AC68U's setup at remote locations, one acts as a openvpn server and one as a client. Both the client and server are on a 100/10 Mbps connection, one on Comcast and the other with Cox. I am essentially using the Openvpn server to do automated backups between 2 unRAID servers. I have the openvpn server on a TAP interface type, which allows me to see other devices on the remote network via windows explorer. I am experiencing very slow file transfer speeds, like 700 KB/s when trying to download a 300MB file from the remote server. I can't even get photo thumbnails to load when I try to access the remote server. I've even tried this on a TUN interface with the same results. Is this a normal speed that I should be experiencing?
UDP or TCP?............. Because TUN with UDP and use...... say port 80 works awesome for most people ac68u is going to max about 15mbs with that encryption. The cpu just can't do any more. Higher bandwidth demands need better hardware. What port is your server using? Also if you are not going to use encryption whats the point? What does your ISP give you for upload bandwidth. That is what is going to bring your speed down unless you have a symetrical connection like 50dwn 50up.

EDIT: https://www.snbforums.com/threads/r...65-is-now-available.37295/page-30#post-315484
Follow this guide it is excellent tool to basic setup whether you use a vpn service or not. Also there is link on asuswrt-merlin/wiki to a vpn configuration helper.
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top