To disable Synology from listening on ports 80 and 443 while keeping port 5000 active, you’ll need to adjust your Synology’s network settings. Here’s a breakdown of how to do it, along with some important considerations:
Steps:
-
Access DSM: Log in to your Synology’s DiskStation Manager (DSM) as an administrator.
-
Go to Network Settings: Open the Control Panel and navigate to Network > DSM Settings.
-
Change HTTP/HTTPS Ports:
- In the HTTP field, enter a different port number (e.g., 8080).
- In the HTTPS field, enter a different port number (e.g., 8443).
-
Disable Redirection:
- Uncheck the box that says Automatically redirect HTTP connections to HTTPS (Web Station and Photo Station excluded).
-
Apply Changes: Click Apply to save your changes.
Important Considerations:
- Port 5000: Yes, port 5000 will remain active as it’s the default port for accessing DSM. You are simply changing the ports that redirect to it.
- Accessing DSM: After making these changes, you’ll need to access DSM using the new port numbers you specified. For example, if you used 8080 for HTTP and 8443 for HTTPS, you would access DSM by typing
http://your-synology-ip:8080
orhttps://your-synology-ip:8443
in your web browser. - Router Configuration: If you’re accessing your Synology from outside your local network, you’ll also need to update your router’s port forwarding rules to reflect the new port numbers.
- Security: While changing ports can add a small layer of security, it’s not a foolproof solution. It’s crucial to keep your DSM software updated and use strong passwords to protect your Synology NAS.
Additional Notes:
- Web Station and Photo Station: If you’re using Web Station or Photo Station, you might need to adjust their settings separately to ensure they’re accessible on the new ports.
- Reverse Proxy: If you have a reverse proxy set up, you’ll need to update its configuration to reflect the changes in your Synology’s port settings.
By following these steps, you can successfully disable Synology from listening on ports 80 and 443 while keeping port 5000 active for DSM access.