Ok so i have done some extensive test and figured out some things.
Here is my config:
- server side: i have a Hp proliant Gen 8 installed with OMV and openvpn as a pluggin. Server is connected to my internet box with ethernet 1Gb(i have the right speed via eternet from my PC to my server for example)
- client side: iphone/ipad with openvpn app.
Some test i have made:
- i have tested my real upload speed using gdrive by uploading a file directly from my PC, i had 35Mo/s
- i have tested the bandwith from my phone directly on my network, i have 15Mo/s, the bottleneck is the wifi.
- i have tested a feature of my box that let me share files that are on internet box (i dont know the protocol behind that), i have 7Mo/s from my phone using 4G (i think the max speed then)
So as you can see i have «high » speed on all my tests and i know where the bottleneck is.
However when i m trying to download from my server outside my network via openvpn via my iphone on 4G i’m only at 2Mo/s (not enough to see hd movies in streaming).
I have also compare SMB and FTP speed on this config because i read that SMB was « chattier »:
Server - IOS in wifi (no openvpn): FTP is 30.5MB/s while SMB only 17MB/s!
FTP protocol seems to max out my wifi (ac)!
So, now i’m focusing on using FTP protocol over SMB via openvpn.
Still, with FTP and openvpn from my iphone i’m around 2.5/3Mo/s not great but now streaming of HD video works perfectly!
Last test i have made, i have redirected the port of my ISP box directly to my FTP to access it from outside with no vpn on my iphone.
I got 10Mo/s! So that seemed to max my 4G download!
So I’m still trying to figure out why i can’t have more than 3Mo/s while my ISP can provide 35 UP, my FTP without VPN 10Mo/s and my vpn client 10Mo/s?
Here is my ios openvpn config:
clientremote IP 1194proto udpdev tunremote-cert-tls servercomp-lzocipher AES-256-CBC;auth-user-passpersist-keypersist-tunnobindresolv-retry infiniteverb 3mute 10
I have already tested without cipher, with different MTU (seems irrelevant for ios), fragment...