I have two eBoxes acting as routers in two locations. I have an OpenVPN tunnel set up between the two using TCP and port 51194, encryption is on by default in eBox as I understand.
I am experiencing slow speeds pulling files from a windows server in site 1 to a workstation in site 2. I can achieve much faster speeds sending files from site 2 to site 1. Both sites have 5 Mbps down and 1.5 Mbps up though they are not through the same provider.
I have compared the speeds of transfering files from site 1 to site 2 using FTP and VPN.
VPN - 30 KB/s FTP - 200 KB/s
Transferring a file from site 2 to the server in site 1 I get speeds upwards of 120 KB/s.
I understand there is some overhead using VPN, but I am only getting about 20% of my maximum site 1 upload speed. Is there anything to tweak OpenVPN or ebox to help me get better performance? A different port number, UDP vs TCP? Can my provider (Timewarner) somehow be throttling the VPN traffic? Turning off encryption is not a possible solution.