Sign in to follow this  

LAN and linux shell question

This topic is 3600 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well, I got some problem, don't know whom to ask. I got 4 pc's at home, they are in a home lan, and wan connection from isp comes into my router (dlink 624). Here comes the question. On one of my machines I got linux (debian) shell running, and I want to be able to connect to it from outer world, not only the inner network. How is it possible to set this up? Given my router gets static IP from ISP. The shell itself is fine, the question is how to allow to connect ot that pc from outer world.

Share this post


Link to post
Share on other sites
Run the OpenSSH server on your Linux box, open port 22/tcp on the router, and route any incoming traffic on that port to the Linux box. When outside of your LAN, just direct your SSH client to whatever the static IP of the router is, and it'll go to the Linux system.

Share this post


Link to post
Share on other sites
Sign in to follow this