How to view public IP AND port of home computer running ssh server? [on hold]
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
New contributor
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.
add a comment |
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
New contributor
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
add a comment |
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
New contributor
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
networking server ssh
New contributor
New contributor
edited Dec 27 at 18:40
New contributor
asked Dec 27 at 17:57
Justin
1043
1043
New contributor
New contributor
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
add a comment |
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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