VirtualHere incredible slow using OpenVPN

Hi,

I use Virtualhere to connect to a HDD attached to a Raspberry PI.
As long as the PI is on the local network it works fine.

But if I connect to the PI over WAN connection using OpenVPN the performance drops dramatically.
It is not the VPN connection itself. Copying files from and to the PI over the OpenVPN connection works fine.

Acessing the HDD using Virtualhere the maximum speed in best case is ~70kbps, often it drops below ~1kbps.
Means it works basically but in practice its not usable like that. Using bigger files it hangs up.

Any Ideas what the reason could be?

Best Regards, MF

#2

That is expected, if you are using a disk over virtualhere it will send many very small packets when building up the directory structure of the disk and therefore network latency is critically important.

So i would recommend against using virtualhere for accessing disks over a wan and just use normal NFS or SAMBA instead

#3

Thanks for the information.
I use it to localy open a remute LUKS partition. Using NFS or SAMBA requires the remote system to know the LUKS keys, at least while the LUKS partition is opened.
The idea was to avoid that by using Virtualhere.
Anyway it is like it is.