SSH linuxbox through DSL modem

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

SSH linuxbox through DSL modem

Postby osama1 » Mon Aug 03, 2009 10:03 am

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:

Postby lambda » Mon Aug 03, 2009 11:53 am

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

Postby osama1 » Mon Aug 03, 2009 12:11 pm

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:

Postby lambda » Mon Aug 03, 2009 4:19 pm

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:

Postby LinuxFreaK » Tue Aug 04, 2009 7:54 am

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


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 0 guests