sabot105mm
Regular Contributor
i know tomatousb supports this function, and with merlins' build being based on tomato i would think there is a way to do it. if so how do i do it.
You can enable port forwarding on the Administration -> System page if that's what you are referring too (forwarding a local port through an SSH tunnel). That can then be used as a quick'n'dirty VPN, where your SSH client could redirect local port 8888 to a remote port 80 (a NAS, for example).
Yes, this is the ONLY thing that's holding me back.How do I Set the ssh Remote Port TCP port number that you want to use to connect to your router from the internet?
http://www.hirahim.com/blog/wp-content/tomato_preferences.png
When you activate SSH the UI will change to something like this:Hi Merlin,
Ok, the port is not configurable, but to which ports it redirects?
Currently, there is only an option saying "Allow SSH port forwarding" but has no info to which port.
Thanks!
When you activate SSH the UI will change to something like this:
View attachment 17287
That's where you can change the port from default 22
This feature enables SSH forwarding or tunneling. On a Windows PC, you would configure the local and remote port within PuTTY. See the PuTTY docs:Mutzli, thanks for the reply.
I got that screen. What I want to know is to which port it redirects. Example : in tomato firmware, you can set port 22 to redirects to 2222. As Merlin said, in current firmware you can't specify to which port it will redirect (like the 2222) but you can forward ports (there is an option to enable it). So my question is, ok, you can't specify the port but to which port it redirects?
Thanks!
This feature enables SSH forwarding or tunneling. On a Windows PC, you would configure the local and remote port within PuTTY. See the PuTTY docs:
https://the.earth.li/~sgtatham/putty/0.71/htmldoc/Chapter3.html#using-port-forwarding
It's also 22 or whatever port you select there is your remote AND local access port.Sorry guys, I believe that I am not correctly explaining what I want...
Let's take a look at the link sabot105mm sent in a previous post;
http://www.hirahim.com/blog/wp-content/tomato_preferences.png
You have 2 fields; PORT (22) and REMOTE PORT (2222). In tomato, you can configure both. In Merlin's you can set only the PORT and the REMOTE PORT field doesn't even show up.
Merlin said in his last post that this is due to the fact ASUS stock firmware does not allow to change the REMOTE PORT. Ok, I got that, but what is the current value? Since the option doesn't even show up, I don't know what is the default value... Is it 2222 for example? Someone can confirm that?
Thanks
I think you might be confusing two different things. The subject of this thread was about "tunnelling" over SSH. That is what Merlin's option "Allow SSH Port Forwarding" enables. This is what @dave14305 linked to.Sorry guys, I believe that I am not correctly explaining what I want...
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!