Just as a long shot, can you try this experiment, using a telnet client.
If using Windows and it doesn't already have one, this can be enabled in Control Panel | Windows Features
Or the Synology NAS should have a telnet client if you SSH into it.
At the command prompt, type :
telnet...