Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


theoriginaltoad

3 posts

Wannabe Geek


#238006 28-Jun-2018 12:58
Send private message

Hi,

 

I have a Netcomm NF4V router and (after a lot of messing about wondering why i cant reach my SSH) i've discovered that it has a dropbear_0.46 SSH server setup on it for port 22. I can login to it using admin credentials which is cool but... I'm trying to set up port forwarding to my own SSH server setup on an Asus eebox with Linux Mint and openssh 7.2. It's fine logging in locally on the network, but i want to access it via my public ip. I have set up forwarding for port 2222 and my openssh config to listen to port 2222 just to avoid having the NF4V routers internal SSH get in the way.

 

When i try connecting to my linux box SSH server, I get the error: Connection refused ip 101.x.x.x on port 2222.

 

My questions are:

 

1) Do i need to put the local ip 192.168.1.5 of the server in the DMZ setting as well as in the NAT virtual servers setup page?

 

2) Does anybody know if the NF4V actually supports port forwarding for an SSH server? I talked to a slingshot techie the other day who said that router was locked down to basic internet stuff, but then he didn't know what SSH is and told me to "just reboot the router and keep trying what you want to do" lol.. so i think his info might have been a little dubious anyway. What are others experiences of this? Is there a better router i should get for this purpose or stick with this NF4V thing?

 

3) I can't seem to find any combination of port forwarding that works. I have enabled SSH forwarding with port 2222 in the router security settings page and set virtual servers external and internal ports 2222, but to no avail. I've looked a few guides and they're pretty vague, nothing on SSH for the NF4V.

 

(Btw there is actually a 'Secure Shell Server' option in the NAT virtual servers page that when clicked, sets up the internal and external server ports to 22.. which seems useless unless i wanted to use the routers internal ssh server.)

 

 

 

Your help would be greatly appreciated

 

 

 

theoriginaltoad


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

theoriginaltoad

3 posts

Wannabe Geek


#2045769 28-Jun-2018 21:03
Send private message

Found the problem.. The port forwarding on the router was not quite right. I can now access my SSH server and get around the internal Dropbear ssh server on the router.

 

Check out this article on linuxquestions

 

https://www.linuxquestions.org/questions/linux-server-73/logging-in-using-ssh-via-external-ip-4175632616/

 

 

 

Here are the router config screenshots

 

Must set the SSH server box to listen on port 2222.

 

Click to see full size

 

Click to see full size

 

Click to see full size


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.