Skip to content
/ winnfsd Public
forked from winnfsd/winnfsd

NFS v3 Server for windows with whitelist ip clients option added

Notifications You must be signed in to change notification settings

mp81ss/winnfsd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED - Moved to gitlab

WinNFSd

Introduction

Description

My fork just:

  • Remove some compiler error on newer compiler
  • Add the -allow option to set whitelist client ip

WARNING!!!

Compiling with mingw32, everything is ok.
Compiling with mingw64, server hangs, hanging clients too, both in my fork and in the original repo.

Original Description

WinNFSd is a Network File System V3 (NFS) server for Windows.

You can use any NFS client to mount a directory of Windows and read/write files via NFS v3 protocol. It is useful when you usually access files of Windows on Linux and for especially for virtual machines, since it is much faster than shared folders.

You can also export any folder with an additional alias.

The export of multiple folders is also possible. Just put the shared foldes and an optional alias into a simple text file:

C:\path\to\a\mount > /alias
C:\path\to\another\mount > /another-alias

Then start winnfsd.exe like this: WinNFSd.exe -pathFile C:\path\to\your\pathfile

Usage

=====================================================
WinNFSd {{VERSION}} [{{HASH}}]
Network File System server for Windows
Copyright (C) 2005 Ming-Yang Kao
Edited in 2011 by ZeWaren
Edited in 2013 by Alexander Schneider (Jankowfsky AG)
Edited in 2014 2015 by Yann Schepens
Edited in 2016 by Peter Philipp (Cando Image GmbH), Marc Harding
Edited in 2021 by mp81ss
=====================================================

Usage: WinNFSd.exe [-id <uid> <gid>] [-log on | off] [-pathFile <file>] [-addr <ip>] [-allow <ip[,ip...]>] [export path] [alias path]

At least a file or a path is needed
For example:
On Windows> WinNFSd.exe d:\work
On Linux> mount -t nfs 192.168.12.34:/d/work mount

For another example:
On Windows> WinNFSd.exe d:\work /exports
On Linux> mount -t nfs 192.168.12.34:/exports

Another example where WinNFSd is only bound to a specific interface:
On Windows> WinNFSd.exe -addr 192.168.12.34 d:\work /exports
On Linux> mount - t nfs 192.168.12.34: / exports

Use "." to export the current directory (works also for -filePath):
On Windows> WinNFSd.exe . /exports

About

NFS v3 Server for windows with whitelist ip clients option added

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.8%
  • Other 1.2%