Sharing over Internet - nfs/webdav/ftp/sftp/sshfs etc

hello,

got a small server with friends and i had an idea about mounting a share drive into the windows filebrowser.
first of all, i’ll just do it over wireguard. less headaches with this. with my local small homeserver i can mount a nfs v4 share via wireguard, but meh. windows is still in the stoneage, last news ive read that ms wanted to finance a windows nfs v4 client for their desktop. ftps is to “old” too and there is no way to mount ftps stuff in windows.
webdav got a limited filesize.

guess the only less headache way is rclone?

Plenty of people with mixed Linux + Windows LANs opt for samba.

Since security is hard though, I personally don’t feel comfortable with NFS or CIFS unless it’s only my hosts involved.

Agree with involving wireguard to secure links over the Internet :slight_smile:

Samba over WireGuard sounds like good Idea when all of you are using Windows.

Does everyone have a reasonably fast internet connection back to the server? If not, you may want to consider Nextcloud which would allow your friends to “sync” some files/directories to their desktop and others are accessible in the file explorer but do not use up any local disk space.

If the link speeds to the server are fast enough, then yes SMB over wireguard (or tailscale) works pretty well, just don’t expect anything near gigabit LAN performance.

1 Like

Nextcloud, Owncloud?

SMB throughput will be horrible over VPN due to the protocol needing to verify receipt of a packet before sending the next. The connection latency becomes a huge bottleneck even for small files.

yeah ive read about this that samba gets limited by latency alot.

i fiddled around with nfsv4 over wireguard, living in germany, ping to the hetzner server is 12ms, got 1gbit down at home, server is gbit aswell.
got about 20-30mb/s. what i like it is that nfs/linux caches the reads of the share alot? copied a gbit file and deleted it at home, copied it again with rsync and it was gigabytes/s. was a bit flabbergasted.

any1 has expierence with gbit samba and latency over 5ms? like 10-30(maybe 40 worstcase)

:slight_smile:

sftp…