SSH linuxbox through DSL modem

Taking care of your Linux box.

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
osama1
Lance Naik
 
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

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"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

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.
osama1
Lance Naik
 
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

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"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron