A project to build a secure and easy-to-use Network Attached Storage (NAS) using Samba on Kali Linux, accessible from macOS with drag-and-drop functionality, user-based authentication, detailed logging, and a lightweight web dashboard using Cockpit.
| Feature | Status |
|---|---|
| Samba NAS with drag-drop support | ✅ Done |
| User-based authentication | ✅ Done |
| Logging Samba access | ✅ Done |
| Multiple shares with permissions | ✅ Done |
| Lightweight dashboard (Cockpit) | ✅ Done |
This NAS setup allows multiple users to securely store and share files with access control based on user credentials. The server runs on Kali Linux, making it ideal for cybersecurity-focused environments.
- Samba: Provides SMB/CIFS protocol file sharing.
- Cockpit: Lightweight web dashboard for system monitoring and user/session management.
- Firewall/Port Forwarding: Configurable for secure remote access (optional).
- macOS Finder Integration: NAS accessible via Finder using
smb://protocol.
- Shares created:
/srv/share/public– Read/write for all users./srv/share/private– Accessible only to specific users.
- User authentication: Samba users created using
smbpasswd. - Drag-and-drop: Mounted in macOS Finder via
Command+K → smb://<NAS-IP>.
Access logs are stored in: /var/log/samba/log.smbd /var/log/samba/log.nmbd