Could anyone provide a list, guidelines, or some detailed online resource on how to pick a random non-default port for logging into DSM via HTTPS? I know Synology’s Control Panel has 5001 by default, but online forums and sites discourage use of the default ones and also say they go as high as 65,000+?? SpaceRex made a video about Remote Access methods for a NAS and used port 5556 as an example. I just don’t want to pick a bad port that has some other function and make my network vulnerable or run into unnecessary difficulties; but I’d like to know what range(s) are safe with Netgear equipment. I’m new to more in-depth IT and am setting up my first NAS.
To remove some confusion, opening DSM has nothing to do with WebDAV. Ports are also not related to the brand of a router. Ports are ports.
Next, try not to overthink the issue. There are countless ports available and when you configure it in Control Panel, you are warned when you use a reserved port.
An often used option is to change the 5000/5001 pair to 50000/50001, or to 5500/5501. What do you think about 5002/5003. It works equally well.
The important step is to make a bookmark in your browser with the new port setting to prevent forgetting it.
And in case you might lock yourself out, for whatever reason, there is still a method to reset the DSM port to the default 5000/5001: the pin reset at the back of your NAS.
Stay above 3000. If a port is in use, generally you will be advised. There is no list of “safe” ports. Run netstat -a -b
to see what is happening on your machine… but that’s just a snapshot in time.