How to view public IP AND port of home computer running ssh server? [on hold]












0














I have a computer hooked up to the wifi in my home. Is there a way I can create a packet with a source ip and port and then see what my router translates the ip and port to?



I know about:



curl https://ipinfo.io/ip



However, if I want to ssh into a machine on a subnet behind this ip, could I somehow send a packet from the machine with its local ip and port 22, see what the router converts it to, and then use that ip and port to ssh directly into the machine from outside the subnet?



Also posted here: https://networkengineering.stackexchange.com/questions/55702/how-to-view-public-ip-and-port-of-home-computer-running-ssh-server










share|improve this question









New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Thomas, Charles Green, Zanna, Eric Carvalho, Terrance 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Thomas, Charles Green

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
    – Terrance
    Dec 27 at 18:06










  • @Terrance I went ahead and posted there as well.
    – Justin
    Dec 27 at 18:41






  • 2




    I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
    – Zanna
    yesterday
















0














I have a computer hooked up to the wifi in my home. Is there a way I can create a packet with a source ip and port and then see what my router translates the ip and port to?



I know about:



curl https://ipinfo.io/ip



However, if I want to ssh into a machine on a subnet behind this ip, could I somehow send a packet from the machine with its local ip and port 22, see what the router converts it to, and then use that ip and port to ssh directly into the machine from outside the subnet?



Also posted here: https://networkengineering.stackexchange.com/questions/55702/how-to-view-public-ip-and-port-of-home-computer-running-ssh-server










share|improve this question









New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Thomas, Charles Green, Zanna, Eric Carvalho, Terrance 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Thomas, Charles Green

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
    – Terrance
    Dec 27 at 18:06










  • @Terrance I went ahead and posted there as well.
    – Justin
    Dec 27 at 18:41






  • 2




    I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
    – Zanna
    yesterday














0












0








0







I have a computer hooked up to the wifi in my home. Is there a way I can create a packet with a source ip and port and then see what my router translates the ip and port to?



I know about:



curl https://ipinfo.io/ip



However, if I want to ssh into a machine on a subnet behind this ip, could I somehow send a packet from the machine with its local ip and port 22, see what the router converts it to, and then use that ip and port to ssh directly into the machine from outside the subnet?



Also posted here: https://networkengineering.stackexchange.com/questions/55702/how-to-view-public-ip-and-port-of-home-computer-running-ssh-server










share|improve this question









New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have a computer hooked up to the wifi in my home. Is there a way I can create a packet with a source ip and port and then see what my router translates the ip and port to?



I know about:



curl https://ipinfo.io/ip



However, if I want to ssh into a machine on a subnet behind this ip, could I somehow send a packet from the machine with its local ip and port 22, see what the router converts it to, and then use that ip and port to ssh directly into the machine from outside the subnet?



Also posted here: https://networkengineering.stackexchange.com/questions/55702/how-to-view-public-ip-and-port-of-home-computer-running-ssh-server







networking server ssh






share|improve this question









New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Dec 27 at 18:40





















New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Dec 27 at 17:57









Justin

1043




1043




New contributor




Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by Thomas, Charles Green, Zanna, Eric Carvalho, Terrance 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Thomas, Charles Green

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by Thomas, Charles Green, Zanna, Eric Carvalho, Terrance 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Thomas, Charles Green

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
    – Terrance
    Dec 27 at 18:06










  • @Terrance I went ahead and posted there as well.
    – Justin
    Dec 27 at 18:41






  • 2




    I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
    – Zanna
    yesterday














  • 1




    This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
    – Terrance
    Dec 27 at 18:06










  • @Terrance I went ahead and posted there as well.
    – Justin
    Dec 27 at 18:41






  • 2




    I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
    – Zanna
    yesterday








1




1




This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
– Terrance
Dec 27 at 18:06




This question sounds more like something for Network Engineering. networkengineering.stackexchange.com You'll probably get better results there.
– Terrance
Dec 27 at 18:06












@Terrance I went ahead and posted there as well.
– Justin
Dec 27 at 18:41




@Terrance I went ahead and posted there as well.
– Justin
Dec 27 at 18:41




2




2




I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
– Zanna
yesterday




I'm voting to close this question because it was cross-posted. Otherwise, there is no reason to close it as it is not off-topic
– Zanna
yesterday















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

File:DeusFollowingSea.jpg