I can't ssh into my home server outside of my home connection.
(Notice that connected to my wifi, the same which is connected my server, and ssh into my server's local ip I've success).
On my server runs Ubuntu 20.04 (stable version) and the current SSH version is "OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022" and It runs on port 22(as default setting). I allow the port 22 from Anywhere in ufw setting and I apply it. On my router settings I set port mapping rule the forward the request on port 2200 to my local server throw MAC address(I've read that Ip may change) of my server on port 22(the port upon which runs ssh service).
This are my router map settings: My router settings;
Here there is a translation: "abilitato" -> "enable" , "Qualsiasi host tutte le interfacce" -> "Any host all interfaces"
When I try to ssh with ssh my_user@my_router_ip -p 2200
in my terminal (I tried with macOS terminal and WebSsh on iPadOS) the request starts but after a few minutes ssh fails with a timeout error.
What I'm doing wrong? Thank you
display my public IP
and you'll find this – kanehekili Dec 20 '22 at 00:05