0

I try to connect to my remote computer through ssh. I have a public IP address that I found from whatismyip.com but I can not connect to it.

I can to ping the IP address. I believe that this public IP is from the router and not from the computer.

Any ideas on how to connect to the computer? or how to get its public IP?

guntbert
  • 1,597
  • 1
  • 17
  • 23

1 Answers1

0

You need to setup Port Forwarding on your router. Just look for page with similar name on router's setup page. In this particular case you need to forward External 22 port to your PCs local IP port 22.

Nerijus
  • 56
  • 4
  • I have forward the port 3389 to the local IP of one of my computer, but if I try another port it doesn't work, do you know which other port can I use for another computer behind the same router – Enrique Ramos Muñoz Dec 17 '18 at 21:49
  • You are connecting External Router inbound ports to any of your local PCs inbound ports. Your ISP may block some ports. You can try ask your ISP which inbound ports are allowed to use. – Nerijus Dec 18 '18 at 12:54