NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
sshambar2
Sep 16, 2020Star
Samba 3.6.25 build for ReadyNAS NV+ v2
My brother was having difficulties connecting to his ReadyNAS from his work laptop running Win10, and asked if I could enable SMB2 on his NAS (he couldn't install SMB1 compatibility as the laptop is ...
sshambar2
Dec 10, 2020Star
Reinstalling the addon will make it so that uninstalling the addon correctly restores the old samba binaries (by re-running the ldconfig on removal)... so you might consider it if you ever think you might remove the addon :)
If you want to disable ssh, that's pretty easy without reinstalling... run the following (as root)
sed -i s/SSH=1/SSH=0/ /etc/default/services
/etc/init.d/ssh stop
I'll have my brother test logging in as non-admin, and see if that works for him.
treboR2Robert
Dec 10, 2020Aspirant
That's insteresting that you can disable ssh ( I assume you do this over ssh )
So what happens after you type that command ? Does the ssh session your in just get cut off / disconnected ?
I done a factory reset anyway now so don't need it but thanks for the instructions. :smileyhappy:
- sshambar2Dec 10, 2020Star
treboR2Robert wrote:So what happens after you type that command ? Does the ssh session your in just get cut off / disconnected ?
No, the command stops the sshd daemon (and disables it starting at boot) which prevents new sessions from connecting, but the current session will continue until you log out.
- StephenBDec 11, 2020Guru - Experienced User
Personally I'd leave ssh enabled, especially on a legacy NAS (where there are no support implications).
- treboR2RobertDec 11, 2020Aspirant
sshambar2 OK I see what you mean now with the ssh daemon, thanks for explaining, it makes sense.
StephenBThanks for the advice about leaving ssh enabled, but I'm hoping there is nothing else I need to do via ssh now, the unit is just going to used as a backup for my TrueNAS server.
My thinking is why leave something enabled that could "potentially" be a security risk. I could be wrong (I usually am). Anyway if there is something else I need to do via ssh I can always enable it again. Is there something you reccomend doing via ssh ?
- StephenBDec 11, 2020Guru - Experienced User
It is useful for some troubleshooting/fixes. For instance if the OS partition gets full.
But generally when you need it for that, you can't enable it - because the Web UI isn't working properly. So I just leave it enabled on my ReadyNAS. Port 22 isn't exposed to the internet, so the only security risks are on my local LAN.
- treboR2RobertDec 11, 2020Aspirant
StephenB wrote:It is useful for some troubleshooting/fixes. For instance if the OS partition gets full.
But generally when you need it for that, you can't enable it - because the Web UI isn't working properly. So I just leave it enabled on my ReadyNAS. Port 22 isn't exposed to the internet, so the only security risks are on my local LAN.
I see your reasoning.
Hopefully mine will be ok though as I am only using the system as a backup for my TrueNAS and 99% of the time it will be off and just get powered on by schedule for backups.
The only service running will be rysnc and https. (SMB I will turn on and off as I need it)
Getting TrueNAS to rsync directly to the ReadyNAS the other day took me AGES to fugure out :smileyfrustrated:
I am in two minds at the moment though whether to leave the ReadyNAS at my mums house and try and get the TrueNAS at my house to rsync over ssh so that the backup is "off site".
I think it may be a little over my head though to get that working securely.
- StephenBDec 12, 2020Guru - Experienced User
treboR2Robert wrote:
StephenB wrote:
It is useful for some troubleshooting/fixes. For instance if the OS partition gets full.
But generally when you need it for that, you can't enable it - because the Web UI isn't working properly. So I just leave it enabled on my ReadyNAS. Port 22 isn't exposed to the internet, so the only security risks are on my local LAN.
I see your reasoning.
Hopefully mine will be ok though as I am only using the system as a backup for my TrueNAS and 99% of the time it will be off and just get powered on by schedule for backups.
The only service running will be rysnc and https. (SMB I will turn on and off as I need it)
The only file sharing protocol I enable on my own backup NAS is rsync. Though as I said, I do have ssh enabled on them.
If you disable ssh, then you can still gain access through tech support mode. Though I haven't gone through the steps needed to mount the OS partition and data volume(s) on the v2 (since I don't own that model).
And of course if the ReadyNAS does run into trouble, you can factory default and run the backups again (as long as the TrueNAS remains healthy).
treboR2Robert wrote:
...try and get the TrueNAS at my house to rsync over ssh so that the backup is "off site".
I think it may be a little over my head though to get that working securely.
I don't believe your ReadyNAS model has built-in support for rsync over ssh - if I'm correct on that, it would be tricky to get this to work.
- treboR2RobertDec 12, 2020Aspirant
StephenB wrote:
treboR2Robert wrote:...try and get the TrueNAS at my house to rsync over ssh so that the backup is "off site".
I think it may be a little over my head though to get that working securely.
I don't believe your ReadyNAS model has built-in support for rsync over ssh - if I'm correct on that, it would be tricky to get this to work.
I have been doing a bit of research and I think I may have found a way to make it work (maybe) :smileyindifferent:
At home I have a Asus Router running Asuswrt-Merlin with a OpenVPN server.
At my mums I have another Asus Router running Merlin LTS.
I had a "quick" read online and it seems I may be able to set the Router at my mums house to use OpenVPN as a client, BUT only for the ReadyNAS ( so all other devices at my mums wouldn't use the VPN)
I am thinking that this will mean that the ReadyNAS (at my mums) and the TrueNAS (at my house) will think they are on the same network and I can just do normal Rsync betwwen them.
Got some other stuff to do over the weekend so I'll do a bit more research if I get a minute and then I'll try it out next week and report back here incase anyone else wants to do it.
- StephenBDec 12, 2020Guru - Experienced User
Since the NV+ v2 hasn't gotten security updates in some years, I think that it's better to use a VPN connection for this than to use rsync-over-ssh.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!