My NAS exposes itself over the internet without permission
21–30 of 311 posts
Re: My NAS exposes itself over the internet without permission
#22Or aren't they using UPnP? Quick googling wasn't successful. I thought most of those autodiscover-services use UPnP.
Re: My NAS exposes itself over the internet without permission
#23> Unfortunately, disabling uPnP these days is too much of a hit to convenience, so I looked for other solutions. Don't do this, there is no good reason to run UPNP if you care about security, turn it off and learn to manage a firewall. If the author really cares, go one step further and replace the ISP owned router with something with more control. Finally, if one cares about the software one's NAS runs, build or buy…
Do you have a router you recommend? Ideally something running free software
Re: My NAS exposes itself over the internet without permission
#24> Unfortunately, disabling uPnP these days is too much of a hit to convenience Why ? Its only used for torrents and some games, just note down their port numbers and enable those in your firewall once, thats it.
You mean "enable them all over again for every new DHCP assignment, unless you insist on static IP assignments".
Re: My NAS exposes itself over the internet without permission
#25For at least some of the x86 ones, you just need the right cable to connect to a suitable monitor, and it can boot from a USB drive. You don't need the VGA cable to replace the OS, but it helps a lot. You may have to dismantle the whole thing to get at the boot drive, but they're pretty easy to take apart.
First I did with mine was to install Open Media Vault.
Re: My NAS exposes itself over the internet without permission
#26Re: My NAS exposes itself over the internet without permission
#27 - FreeNAS / NAS4free / OpenMediaVault (for Home-NAS)
- OpenWRT / OPNsense / PFSense (for Home-Firewall)
Nearly Plug and play with this Hardware: - Dell T20 / T30 / T40
- HP Microserver N54L / Gen8 / Gen10
- Linksys WRT 1200 / 1900 / 3200 / 32X (https://dc502wrt.org/)
- Alix APURe: My NAS exposes itself over the internet without permission
#28I use a lot of software/devices which I think is using UPnP (airplay, airdrop, pioneer dj pro link, maybe the printer etc.). There's talk here about disabling UPnP but does that mean that the devices wouldn't be able to find each other? I don't want to babysit my router. Or aren't they using UPnP? Quick googling wasn't successful. I thought most of those autodiscover-services use UPnP.
One is service discovery, in cooperation with zeroconf (aka bonjour/mDNS). This is handled 100% by devices themselves.
The other is the port forwarding protocol, where devices can ask your router to open a port in the NAT to the wide internet forwarded to them. This is done in the router. It's also a potential massive security hole.
If you disable UPnP on your router, you only disable the second thing. The first thing keeps working.
Re: My NAS exposes itself over the internet without permission
#29The JSON config is strange, the keys contain type information. But any JSON parser worth its salt should not require that since JSON is natively typed, no?
"triestimes": 3,
"mapList": [
{
"desc": "ftp",
"nExternalPort": 6221,
"nInternalPort": 21,
"sProtocol": "TCP",
"bEnable": 0
},...Re: My NAS exposes itself over the internet without permission
#30> Unfortunately, disabling uPnP these days is too much of a hit to convenience, so I looked for other solutions. Don't do this, there is no good reason to run UPNP if you care about security, turn it off and learn to manage a firewall. If the author really cares, go one step further and replace the ISP owned router with something with more control. Finally, if one cares about the software one's NAS runs, build or buy…
Maybe he is under the impression if he turns off UPnP on his router (the automatic port forwarding feature), that his LAN device discovery features will break?