What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Should I partition my USB attached storage? Samba or NSF?

gobtron

Occasional Visitor
I have a USB drive attached to my router (Asus AC68P) and I want to use it as a backup space for my devices and as a share center.

Users should have access only to their respective backup space

All users should have access to the share center.

It would be also nice to make a personnal cloud out of it.

Right now, I use the SAMBA protocol with username/password, and I set the permissions for each users to the folders they should access.

What would be the best solution in this case? Is NFS a better choice than SAMBA? I know I can limit access to certain folders using the IP.

I should also mention that I use SSH over WAN. I am planning to install a console-based torrent client and manage torrents remotely.

So I am a bit confused and concerned about security in my setup. What would be harder to penetrate by someone with bad intentions? Some sensitive data might be present on the drive.
 
I thought about the same questions as you. In the end I went with a home brew linux system that does transmission, samba, ntpd, syncthing. For a while also a sip server and openvpn server. It now has 4 hard drives, encryption and the kicker is it uses 10watts of juice I recken. It keeps growing!
You can throw webmin gui on it to easily manage samba shares and other settings. The samba module for webmin has a setting for everything it seems.

Back to your post, I know your router can do all that (transmission, samba), however I am paranoid, and concerned about privacy somewhat too. I think you should stick with samba, I read nfs is even harder to secure then samba. I was curious a little about ssh over wan. Does that mean your worried somebody might have physical access to the share (hard drive), or plug a device into a ethernet port inside your lan?
 
I thought about the same questions as you. In the end I went with a home brew linux system that does transmission, samba, ntpd, syncthing. For a while also a sip server and openvpn server. It now has 4 hard drives, encryption and the kicker is it uses 10watts of juice I recken. It keeps growing!
You can throw webmin gui on it to easily manage samba shares and other settings. The samba module for webmin has a setting for everything it seems.

Back to your post, I know your router can do all that (transmission, samba), however I am paranoid, and concerned about privacy somewhat too. I think you should stick with samba, I read nfs is even harder to secure then samba. I was curious a little about ssh over wan. Does that mean your worried somebody might have physical access to the share (hard drive), or plug a device into a ethernet port inside your lan?


You unleashed the beast out of your network! It seems really nice!

I am not worried about physical access. Everything is stored in my appartment, so if someone wants to have access to my hard drive, they will just take it, as well as everything else inside my appartment. Well... It does concern me a little, that's why I lock the door at night or when I'm absent!

But anyway I am more concerned about someone gaining access to some privilege on my router, either by exploiting a security flaw over WAN or a neighbor gaining access to my WiFi network and then exploiting a flaw while on the WiFi. This is also why I thought of using encryption for my backups, as a safety, so if anything happen, the data would take some time to decipher, hoping that the person would aim another easier target.

Obviously, I use a very strong password for both WAN access and WiFi access. I use a different admin login for SSH as well as another port, not common for SSH.
 
I wouldn't recommend partitioning the drive. A lot of router NAS' have trouble handling more than one partition table.

And why would you use NFS? NFS is really meant for Linux/Unix environments. For the home user, SMB is more than functional enough.
 
I wouldn't recommend partitioning the drive. A lot of router NAS' have trouble handling more than one partition table.

And why would you use NFS? NFS is really meant for Linux/Unix environments. For the home user, SMB is more than functional enough.

Ok thank you for the input.
 
I wouldn't recommend partitioning the drive. A lot of router NAS' have trouble handling more than one partition table.

And why would you use NFS? NFS is really meant for Linux/Unix environments. For the home user, SMB is more than functional enough.

Concur - don't partition the drive, but one can create different shares and policies as needed within the single volume..
 
You unleashed the beast out of your network! It seems really nice!

I am not worried about physical access. Everything is stored in my appartment, so if someone wants to have access to my hard drive, they will just take it, as well as everything else inside my appartment. Well... It does concern me a little, that's why I lock the door at night or when I'm absent!

But anyway I am more concerned about someone gaining access to some privilege on my router, either by exploiting a security flaw over WAN or a neighbor gaining access to my WiFi network and then exploiting a flaw while on the WiFi. This is also why I thought of using encryption for my backups, as a safety, so if anything happen, the data would take some time to decipher, hoping that the person would aim another easier target.

Obviously, I use a very strong password for both WAN access and WiFi access. I use a different admin login for SSH as well as another port, not common for SSH.
I would worry more about the devices connecting to your router especially Android phones then about a router exploit. I think if you had Samba setup with tight permissions, you would be good.
If I wanted to gain access to Troy, thats how I would do it (with a small handheld computer/aka phone)!
 
I would worry more about the devices connecting to your router especially Android phones then about a router exploit. I think if you had Samba setup with tight permissions, you would be good.
If I wanted to gain access to Troy, thats how I would do it (with a small handheld computer/aka phone)!

Simple solution - don't expose the NAS/Samba shares to the public internet and have a fairly robust password for the WiFi - and then it's a matter of trust and being smart...
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top