Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a computer at my school, but it is in a router. I have the actual IP address to the school, and my home computer, but how would I get it so I can connect to my computer through the IP address that the school uses?
Example Addresses:
Home: 68.64.65.111
School: 201.7.6.10
My computer in the school: 192.168.4.170
How could I get to my computer in the school with ssh, basically!
You'd need to forward the port(s) ssh uses from your router to the computer on your school's network. Then you would try to connect with ssh to the IP address of the router, which would then forward connections from that port to the machine you really wish to access.
The network admins at your school probably won't let you do this... but I guess you could try. You would need to forward port 22 to the machine you are running the ssh daemon on.
I see... But how is it outside servers know what computer to send data to for instance, web browsers? It reads the ip address as the school's main address, and not the computers address, so how does it know exactly which one to send all the data to? :/
The outside servers don't actually send the data to the individual machines. They send data to the router, which then passes the data to the computers that requested it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.