Alright, I've been struggling with this for the past few days. I'm trying to set up a personal ssh server on Lubuntu 13.04, but I've been having a few problems.
So far i've accomplished this:
- I can connect locally, through my internal IP address,
- I can ping myself through my external IP address through an external internet source
(Mobile phone hotspot + Different computer) - I have a free dynDNS running, so that I don't have to type my external IP address.
It works (if i connect to that IP locally, it forwards to my router) - I set up port forwarding in my router, temporarily disabled my personal and the router's firewall too.
The problem I have is that I cannot connect through ssh from a different computer outside my network: The usual response that I get is "Error.. [etc] No route to Host".
I tried using the 'canyouseeme.org' service, and the response is the same.
I use an Internet Service Provider called iiNet, and apparently they have some per-account port blocking features, which I have also disabled from their site.
I am running short on resources. DMZ does not work either, default port (22) does not work, custom port does not work either (9222, 9512 or 12222).
So I'm guessing it's either a router fault, or a fault on the ISP's customer-level firewall.
What other suggestions do you have?
Here's a post of my 'sudo netstat -plnt' to show that my sshd is listening on my custom ports.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:12222 0.0.0.0:* LISTEN 2151/sshd
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1474/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 886/cupsd
tcp6 0 0 :::12222 :::* LISTEN 2151/sshd
tcp6 0 0 ::1:631 :::* LISTEN 886/cupsd
I'm connected using a Edimax 7811-nu adapter (Default driver doesn't work, had to install a fixed one)
LE: If it's of any help, I'm using a BoBlite Router and the firmware version is BoBLite1500.