Advertisement

LAN and linux shell question

Started by February 09, 2008 07:59 AM
2 comments, last by olgolas 16 years, 7 months ago
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.
just forward port 22 in your router.

http://portforward.com/english/routers/port_forwarding/Dlink/DI-624/
:wq!
Advertisement
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.
Thanks guys! worked like charm

This topic is closed to new replies.

Advertisement