SSH linuxbox through DSL modem

Taking care of your Linux box.
Post Reply
osama1
Lance Naik
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

SSH linuxbox through DSL modem

Post by osama1 »

Hello,
I want to SSH from out side the network to a linux box through a DSL router. I can connect to DSL router successfully but then cannot find ssh command further. Can anybody tell me how to ssh further to a linuxbox.

Thanx
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

the right way to do it is to set up a forwarding rule on the router to forward packets on port 22 on its outside interface to your server on the lan.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
osama1
Lance Naik
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Post by osama1 »

Can you give me steps to create a rule on router. I am using PTCL DSL modem. There is no help given on router for this.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

it depends on the modem. on the zte i have, click on 'advanced', click on 'nat', click on 'virtual server', click on 'add', and the rest should be obvious.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear osama1,
Salam,
osama1 wrote:Can you give me steps to create a rule on router. I am using PTCL DSL modem. There is no help given on router for this.
FYI, http://www.ecst.csuchico.edu/~dranch/LI ... s-stronger

Best Regards.
Farrukh Ahmed
Post Reply