I am running xubuntu 16.04. I am trying to connect to my machine through SSH, from the www.
I have tested ssh successfully through lan, so I know the ssh server is running correctly.
I then went into my router settings, went to Firewall->Allowed Applications, and forwarded a specific port to my linux machine. It asked me to choose a protocol, so selected TCP. After this failed I also tried UDP.
I then tried connected using my android phone on JuiceSSh. I entered in the public IP addr displayed by whatsmyip.com which was corroborated by my routers displayed public IP. I then disconnected my phone from lan. I confirmed my phone does have internet connection.
So anyways, at this point the connection failed, and I am not sure why, or what my next step should be in diagnosing this.
If I changed from my custom port, to just port 22, the connection succeeded. Could this be an issue on my linux servers ssh configuration?