• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Troubleshooting SSH Tunneling

Pandamonium

Golden Member
I'm trying to connect to my Synology shares over the internet in as secure a way as possible. I'm running a Mac.

The Apple file protocol (uses port 548 by default) is run from a Synology NAS.

So I have:
Router.DynDns.org
Synology with port 22 open and SSH service enabled
Router forwarding port 1000 to port 22 at Synology (say 192.168.0.10)

When I do:
After prompting for my password, connects me to the Synology's ssh shell.

How can I mount my shares at this point?

As far as I can tell, I have a secure connection to my Synology over my laptop's port 1000 going to my Synology's port 22. I need to somehow get my laptop to mimic port 548 and push it through external port 1000, and have the Synology unpush it from receiving port 22 to 548 on the Synology side of the network. How do I do that?
 
Last edited:
As far as I can tell, I have a secure connection to my Synology over my laptop's port 1000 going to my Synology's port 22. I need to somehow get my laptop to mimic port 548 and push it through external port 1000, and have the Synology unpush it from receiving port 22 to 548 on the Synology side of the network. How do I do that?

Hey

You need to setup a SSH tunnel using this syntax:

Code:
ssh -L localhost:548:<synology_local_ip>:548 root@<remote_ip>:1000

You need to try it but if Synology shell if luck of 'ssh' command you may need to use another Linux server as a proxy server at the same location. Your router SSH port will need to be forwarded to the server SSH port of course:

Code:
ssh -L localhost:548:<synology_local_ip>:548 root@<remote_ip>

So you'll install connection to your Linux server, which will forward all the TCP:548 connections to the Synology TCP:548 port.
Should work.

Take a look here for few examples too.
 
Back
Top