Unix Technical Forum

Connecting to a Linksys router through a unix terminal

This is a discussion on Connecting to a Linksys router through a unix terminal within the Sco Unix forums, part of the Unix Operating Systems category; --> So here's the situation...I have a Linsksys router controlling a network at my house, 150 miles away from where ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 02:07 PM
Lord Krugster
 
Posts: n/a
Default Connecting to a Linksys router through a unix terminal

So here's the situation...I have a Linsksys router controlling a
network at my house, 150 miles away from where I am. Before I left, I
was smart enough to forward port 22 to a computer on the network, so
that I could ssh and scp in to the network and such. However, I
wanted to use a different port and, like it should, the router blocks
it. Is there any unix tool that I can use to connect to the router.
Like I said, I can get to it from the inside, but I can't ssh to it's
ip address, nor telnet nor ftp. I figure if I can get in somehow, I
can configure it to add another port so that I can share the desktop
(which is what I'm trying to do, but can't because all ports are
blocked, and it can't share 22 because of ssh.) Any help here? My
only way of getting to the router has been through http, using a web
browser, and I simply don't have that luxury now. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 02:07 PM
Anthony Fremont
 
Posts: n/a
Default Re: Connecting to a Linksys router through a unix terminal


"Lord Krugster" <krugster@optonline.net> wrote in message
> My only way of getting to the router has been through
> http, using a web browser, and I simply don't have
> that luxury now. Thanks.


Sure you do. You didn't mention what ssh client you were using or the
OS it's running on, but any respectable client should be able to
accommodate you. If you have the ability to run a browser on the same
machine that you are secure shelling FROM, you can set up a secure
tunnel from a local port to a remote ip and port number. If you're at a
UNIX prompt then try this:

ssh <home-ip> -L 8000:192.168.1.1:80

Now login to your shell prompt like normal. Next open a web browser of
your choice (on the same machine you just issued the ssh command from)
and go to:

http://localhost:8000

Now log into your Linksys router and rejoice in the fact that you not
only are you able to config your router, you're doing it over a secured
connection.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 02:07 PM
Bill Campbell
 
Posts: n/a
Default Re: Connecting to a Linksys router through a unix terminal

On Fri, Apr 16, 2004, Lord Krugster wrote:
>So here's the situation...I have a Linsksys router controlling a
>network at my house, 150 miles away from where I am. Before I left, I
>was smart enough to forward port 22 to a computer on the network, so
>that I could ssh and scp in to the network and such. However, I
>wanted to use a different port and, like it should, the router blocks
>it. Is there any unix tool that I can use to connect to the router.
>Like I said, I can get to it from the inside, but I can't ssh to it's
>ip address, nor telnet nor ftp. I figure if I can get in somehow, I
>can configure it to add another port so that I can share the desktop
>(which is what I'm trying to do, but can't because all ports are
>blocked, and it can't share 22 because of ssh.) Any help here? My
>only way of getting to the router has been through http, using a web
>browser, and I simply don't have that luxury now. Thanks.


The LinkSys routers and VPN boxes normally are configured only via http,
and don't allow external connections by default. You can enable external
http connections to port 8080 (or perhaps port 8000) from the advanced
configuration menu.

If you can ssh into an internal machine with X forwarding turned on either
in your external ssh_config file or with the ``-X'' option to the ssh
command, then you may be able to configure it with a browser from the
inside. I do this fairly frequently running Mozilla on a Linux box inside
LinkSys BEFVP41 VPN boxes. It's dicey sometimes since the LinkSys is
pretty Internet Exploder specific, and sometimes the form buttons don't do
what one would expect.

Bill
--
INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
Will Rogers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 02:07 PM
Brian K. White
 
Posts: n/a
Default Re: Connecting to a Linksys router through a unix terminal

Lord Krugster wrote:
> So here's the situation...I have a Linsksys router controlling a
> network at my house, 150 miles away from where I am. Before I left, I
> was smart enough to forward port 22 to a computer on the network, so
> that I could ssh and scp in to the network and such. However, I
> wanted to use a different port and, like it should, the router blocks
> it. Is there any unix tool that I can use to connect to the router.
> Like I said, I can get to it from the inside, but I can't ssh to it's
> ip address, nor telnet nor ftp. I figure if I can get in somehow, I
> can configure it to add another port so that I can share the desktop
> (which is what I'm trying to do, but can't because all ports are
> blocked, and it can't share 22 because of ssh.) Any help here? My
> only way of getting to the router has been through http, using a web
> browser, and I simply don't have that luxury now. Thanks.



Lynx

--
Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com