How to connect to my personal computer with my router's public ip? [duplicate]












0















This question already has an answer here:




  • ssh port forward to access my home machine from anywhere

    3 answers




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?










share|improve this question















marked as duplicate by roaima, Jeff Schaller, Rui F Ribeiro, janos, DarkHeart Dec 16 at 23:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
    – roaima
    Dec 16 at 19:53










  • Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
    – Enrique Ramos Muñoz
    Dec 16 at 19:58










  • 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 at 21:49










  • Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
    – roaima
    Dec 17 at 21:53










  • The router doesn't allow me to forward port 22, it says it is reserved for SSH
    – Enrique Ramos Muñoz
    Dec 17 at 22:33
















0















This question already has an answer here:




  • ssh port forward to access my home machine from anywhere

    3 answers




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?










share|improve this question















marked as duplicate by roaima, Jeff Schaller, Rui F Ribeiro, janos, DarkHeart Dec 16 at 23:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
    – roaima
    Dec 16 at 19:53










  • Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
    – Enrique Ramos Muñoz
    Dec 16 at 19:58










  • 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 at 21:49










  • Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
    – roaima
    Dec 17 at 21:53










  • The router doesn't allow me to forward port 22, it says it is reserved for SSH
    – Enrique Ramos Muñoz
    Dec 17 at 22:33














0












0








0








This question already has an answer here:




  • ssh port forward to access my home machine from anywhere

    3 answers




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?










share|improve this question
















This question already has an answer here:




  • ssh port forward to access my home machine from anywhere

    3 answers




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?





This question already has an answer here:




  • ssh port forward to access my home machine from anywhere

    3 answers








ssh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 16 at 21:41









guntbert

1,03911017




1,03911017










asked Dec 16 at 19:42









Enrique Ramos Muñoz

33




33




marked as duplicate by roaima, Jeff Schaller, Rui F Ribeiro, janos, DarkHeart Dec 16 at 23:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by roaima, Jeff Schaller, Rui F Ribeiro, janos, DarkHeart Dec 16 at 23:38


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
    – roaima
    Dec 16 at 19:53










  • Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
    – Enrique Ramos Muñoz
    Dec 16 at 19:58










  • 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 at 21:49










  • Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
    – roaima
    Dec 17 at 21:53










  • The router doesn't allow me to forward port 22, it says it is reserved for SSH
    – Enrique Ramos Muñoz
    Dec 17 at 22:33


















  • Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
    – roaima
    Dec 16 at 19:53










  • Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
    – Enrique Ramos Muñoz
    Dec 16 at 19:58










  • 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 at 21:49










  • Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
    – roaima
    Dec 17 at 21:53










  • The router doesn't allow me to forward port 22, it says it is reserved for SSH
    – Enrique Ramos Muñoz
    Dec 17 at 22:33
















Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
– roaima
Dec 16 at 19:53




Your remote computer is behind a router? Is this a domestic router that does NAT too? If so you need to port forward.
– roaima
Dec 16 at 19:53












Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
– Enrique Ramos Muñoz
Dec 16 at 19:58




Yes, the remote computer is behind a router, I am not sure the router does NAT, I have no access to it, I will try to forward the port
– Enrique Ramos Muñoz
Dec 16 at 19:58












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 at 21:49




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 at 21:49












Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
– roaima
Dec 17 at 21:53




Why would you forward port 3389 (Remote Desktop) when you want to connect with SSH (port 22)?
– roaima
Dec 17 at 21:53












The router doesn't allow me to forward port 22, it says it is reserved for SSH
– Enrique Ramos Muñoz
Dec 17 at 22:33




The router doesn't allow me to forward port 22, it says it is reserved for SSH
– Enrique Ramos Muñoz
Dec 17 at 22:33










1 Answer
1






active

oldest

votes


















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.






share|improve this answer





















  • 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 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 Spl
    Dec 18 at 12:54




















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









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.






share|improve this answer





















  • 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 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 Spl
    Dec 18 at 12:54


















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.






share|improve this answer





















  • 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 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 Spl
    Dec 18 at 12:54
















0












0








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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 16 at 19:51









Nerijus Spl

212




212












  • 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 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 Spl
    Dec 18 at 12:54




















  • 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 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 Spl
    Dec 18 at 12:54


















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 at 21:49




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 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 Spl
Dec 18 at 12:54






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 Spl
Dec 18 at 12:54





Popular posts from this blog

Morgemoulin

Scott Moir

Souastre