📁File Sharing

This is a tutorial to setup and use an NFS file share on a Proxmox server.

This tutorial only covers NFS but there are other file sharing methods like SSHFS, SMB, FTP.

Personnaly I chose NFS because it was the most performant option (see benchmarks below). Moreover, I use Tailscale for external access, so using SSHFS would have resulted in double encryption. Though SSHFS could be a good choice because it needs no server config, if you're interested in using SSHFS, the server can be any machine that has SSH server (and for windows clients, check out SSHFS-Win: Mount SSH Host as Network Drive).


NFS Server

  1. Create Privileged Cockpit LXC (during setup, say yes to 45drives plugin): https://community-scripts.github.io/ProxmoxVE/scripts?id=cockpitarrow-up-right

  2. Once you're logged it into Cockpit dashboard (https://192.168.1.90:9090/file-sharingarrow-up-right), Create an NFS Share (don't create in on '/') (make sure the permissions are ok).

NFS Client

Windows NFS Client

  1. Enable NFS Client on your Windows PC:

  1. Mount the network drive automatically, press Win+R then shell:startup

  2. Create a .bat file with

  1. You can now either reboot or double click the .bat file to mount the NFS Network Drive.

Linux NFS Client

  1. Install NFS package

  1. Créez votre point de montage

  1. Ouvrez le fichier /etc/fstab

  1. Ajoutez la ligne suivante à la fin du fichier, en remplaçant l'adresse IP et les chemins :

  1. Testez le montage sans redémarrer :

Last updated