EasyNetworkShare
by Carles Mateo
File Sharing
iSCSI
Linux
NFS
Samba
SMB
Ubuntu
Share a folder on your Ubuntu machine over SMB, NFS or iSCSI from a friendly terminal interface. Pick a folder, choose who may access it, press enter: easynetworkshare writes the configuration, creates users, starts the services and tells you how to connect.

Works on Ubuntu 24.04 LTS and Ubuntu 26.04 LTS (x86-64).
| SMB (Samba) | NFS | iSCSI (LIO) | |
|---|---|---|---|
| Typical clients | Windows, macOS, Linux | Linux, Unix | Any iSCSI initiator |
| Username / password | ✓ (or guest access) | — (host based) | ✓ CHAP |
| Allowed IP addresses | ✓ | ✓ | — (allowed initiator names instead) |
| Read-only | ✓ | ✓ | — |
| Package | samba | nfs-kernel-server | targetcli-fb |
- Start, stop, edit and delete shares; live status of every share.
- Detects missing packages. For SMB and NFS it offers to install them. iSCSI tools are never installed unless you explicitly ask (Tools screen or
easynetworkshare install iscsi). - Passwords are stored encrypted in
/etc/easynetworkshare/config.json(root-only). - Shows how to connect:
\\server\Share,smb://server/Share, the NFSmountcommand, the iSCSI discovery command and target name. - Command line mode for scripts:
list,start,stop,apply,install,add,delete.
unzip easynetworkshare-0.1.0-linux-amd64.zip # sudo apt install unzip, if needed sudo install -m 0755 easynetworkshare-0.1.0-linux-amd64/easynetworkshare /usr/local/bin/ sudo easynetworkshare
The binary is static and has no dependencies. Check the download with sha256sum -c easynetworkshare-0.1.0-linux-amd64.zip.sha256.
Try the interface without touching anything:
easynetworkshare --demo
sudo easynetworkshare
| Key | Action |
|---|---|
n | share a new folder |
e / enter | edit the selected share |
s / x | start / stop sharing |
d | delete the share (the folder and its files are never deleted) |
a | apply all enabled shares again |
t | protocol tools: install Samba, NFS or iSCSI packages |
r | refresh |
? | help |
q | quit |
In the share form use tab / ↓ and shift+tab / ↑ to move, ← / → to pick the protocol, space to toggle read-only and ctrl+s to save.
Command line
sudo easynetworkshare list sudo easynetworkshare start Projects sudo easynetworkshare stop Projects sudo easynetworkshare apply # re-apply every enabled share sudo easynetworkshare install smb # smb, nfs or iscsi echo 'S3cret-Pass' | sudo easynetworkshare add --protocol smb --name Projects \ --path /srv/projects --user alice --password-stdin --allow 192.168.1.0/24 --start sudo easynetworkshare add --protocol nfs --name Media --path /srv/media --allow 192.168.1.0/24 --start sudo easynetworkshare add --protocol iscsi --name VMDisk --path /srv/iscsi --size 100 \ --initiators iqn.1993-08.org.debian:01:abcdef --start sudo easynetworkshare delete VMDisk --delete-image
Run easynetworkshare add -h for every option.
SMB. Shares are written to /etc/samba/easynetworkshare.conf, included from /etc/samba/smb.conf (a backup smb.conf.easynetworkshare.bak is kept). The generated configuration is checked with testparm before it is used. When you set a username, easynetworkshare creates a no-login system user (if it does not exist) and its Samba password. Files are read and written as the owner of the folder (force user), so the share works without changing permissions; root-owned folders are never forced to root. With allowed IPs, hosts allow / hosts deny = ALL are set.
NFS. Exports are written to /etc/exports.d/easynetworkshare.exports and applied with exportfs -ra. NFS has no passwords: access is limited to the allowed IP addresses (everyone when empty). Clients are mapped to the folder owner (all_squash,anonuid,anongid).
iSCSI. iSCSI shares disks, not files: a sparse disk image (<name>.img, size of your choice) is created in the folder and exported as a LUN through the kernel LIO target on port 3260. Clients format and mount that disk; other files in the folder are not visible to them. Access is limited with optional CHAP credentials (secret 12-16 characters) and a list of allowed initiator names (any initiator when empty). Stopping keeps the image; deleting asks whether to remove it.
Services are enabled with systemd so shares come back after a reboot.
| Path | Content |
|---|---|
/etc/easynetworkshare/config.json | shares and encrypted passwords (mode 0600) |
/etc/samba/easynetworkshare.conf | generated Samba shares |
/etc/exports.d/easynetworkshare.exports | generated NFS exports |
/var/log/easynetworkshare.log | commands run (passwords redacted) |
To move your shares to another machine, copy config.json to the same place on the new machine (or pass --config), then run sudo easynetworkshare apply.
- Easy Network Share v.0.1.0 for Ubuntu 24.04/26.04 Linux 64 bit (1.9 MB)
- License type Commercial
- Download future versions/updates For six months
- License payment frequency One-time payment
- Price per Single server