I'm trying to ssh into my OS X laptop from my iPad using prompt. I have everything working when I'm on the same network, but when I try to access my computer from an outside network...everything fails.
I've followed various sets of instructions (such as those here How can I set my computer up for remote SSH access?). I have given my laptop a static IP starting with 10.x.x.x. I use an airport extreme and have port forwarded port 22. My airport shows an ip of 192.x.x.x. I've also set up no-ip. No-ip shows that I have an IP address like 67.x.x.x, while sites like https://www.whatismyip.com/ show an address of 173.x.x.x.
I've tried accessing the username.no-ip.com address. I've tried the 192 ip, the 67 ip, and the 173 ip. Nothing works.
I set up the airport extreme with "Router Mode: DHCP and NAT". When I did that it assigned the DHCP range to 10.x and my laptop got an address in the 10.x range.
Port Forwarding: Both TCP and UDP 22 are forwarded.
I don't think that the airport extreme is the outermost device. I'm in an apartment building and have to connect my router to a port in the wall, so I assume that there's another router somewhere in the chain.
I can reach the internet from the Mac.