Networking Forums

Networking Forums > Computer Networking > Linux Networking > DSL router and SSH and VNC

Reply
Thread Tools Display Modes

DSL router and SSH and VNC

 
 
Gregg C Levine
Guest
Posts: n/a

 
      02-13-2004, 05:19 PM
Hello from Gregg C Levine
(Long post follows.)
Do any of you have any ideas for configuring a DSL router? This is a LinkSYS
model BEFSR41. It comes preconfigured on its setup pages for configuring the
basic services, examples are FTP, and Telnet, also the mail services. FTP works, I
can send files to my laptop dialed into AT&T Worldnet, and I can SSH to it. Since
I was able to tell it, in the extra services blanks for SSH, but since I didn't know
what the actual port pair was, I simply put down 22 for both, since I remembered
seeing that number. And 5901 for VNC. However, for a project that I'm doing for a
customeer, I need to be able to SSH from his site, into the Linux box. The same
goes for VNC. The helpdesk for the router, doesn't really want to support Linux,
even though that's what the router has inside. Therefore I would greatly appreciate
finding out what port pairs, I need for both, to SSH from a remote site to here, and
VNC from that same remote site, to here.
Gregg C Levine drwho8 atsign att dot net

 
Reply With Quote
 
 
 
 
Matt Payton
Guest
Posts: n/a

 
      02-14-2004, 01:14 AM
On Fri, 13 Feb 2004 18:19:18 +0000, Gregg C Levine wrote:

> Hello from Gregg C Levine
> (Long post follows.)
> Do any of you have any ideas for configuring a DSL router?


yes.

[...]

> I was able to tell it, in the extra services blanks for SSH, but since I
> didn't know what the actual port pair was, I simply put down 22 for
> both, since I remembered seeing that number.


Correct. 22 is for ssh. On the Linksys routers you just enter the same
port in both fields, if the "range" of ports is only one.

> And 5901 for VNC.


Also correct, assuming Xvnc is grabbing DISPLAY:1

> However, for a project that I'm doing for a customeer, I need to be able
> to SSH from his site, into the Linux box. The same goes for VNC. The
> helpdesk for the router, doesn't really want to support Linux, even
> though that's what the router has inside. Therefore I would greatly
> appreciate finding out what port pairs, I need for both, to SSH from a
> remote site to here, and VNC from that same remote site, to here.


- For ssh, all you need is port 22.
- VNC needs 5900 + the display it's running on. So, for example, if you
start xvnc and it grabs display :1, you'd have to connect to port
5901...Which is what you'd forward from the router to your machine. If
you're using something that allows you to connect to DISPLAY:0, like
xf4vnc, then you'd just use port 5900.

That being said, I'd recommend only opening port 22 and tunnelling your
vnc through that. Not only will it be encrypted, and you'll have the
extra authentication, but compression should help performance.
Documentation for that can be found here :
http://www.uk.research.att.com/archive/vnc/sshvnc.html

--
- Matt -

 
Reply With Quote
 
Gregg C Levine
Guest
Posts: n/a

 
      02-14-2004, 02:34 AM
Hello (again) from Gregg C Levine
Thanks! I knew I was on to something there, in any event if this works out, I'll
probably be doing that. And I'll probably be reccomending a similar solution if this
demostration takes off.
Gregg C Levine drwho8 atsign att dot net

In article <(E-Mail Removed)>,
(E-Mail Removed) says...
>
>On Fri, 13 Feb 2004 18:19:18 +0000, Gregg C Levine wrote:
>
>> Hello from Gregg C Levine
>> (Long post follows.)
>> Do any of you have any ideas for configuring a DSL router?

>
>yes.
>
>[...]
>
>> I was able to tell it, in the extra services blanks for SSH, but since I
>> didn't know what the actual port pair was, I simply put down 22 for
>> both, since I remembered seeing that number.

>
>Correct. 22 is for ssh. On the Linksys routers you just enter the same
>port in both fields, if the "range" of ports is only one.
>
>> And 5901 for VNC.

>
>Also correct, assuming Xvnc is grabbing DISPLAY:1
>
>> However, for a project that I'm doing for a customeer, I need to be able
>> to SSH from his site, into the Linux box. The same goes for VNC. The
>> helpdesk for the router, doesn't really want to support Linux, even
>> though that's what the router has inside. Therefore I would greatly
>> appreciate finding out what port pairs, I need for both, to SSH from a
>> remote site to here, and VNC from that same remote site, to here.

>
>- For ssh, all you need is port 22.
>- VNC needs 5900 + the display it's running on. So, for example, if you
>start xvnc and it grabs display :1, you'd have to connect to port
>5901...Which is what you'd forward from the router to your machine. If
>you're using something that allows you to connect to DISPLAY:0, like
>xf4vnc, then you'd just use port 5900.
>
>That being said, I'd recommend only opening port 22 and tunnelling your
>vnc through that. Not only will it be encrypted, and you'll have the
>extra authentication, but compression should help performance.
>Documentation for that can be found here :
>http://www.uk.research.att.com/archive/vnc/sshvnc.html
>
>--
>- Matt -
>


 
Reply With Quote
 
Gregg C Levine
Guest
Posts: n/a

 
      02-17-2004, 08:05 PM

Hello (again) from Gregg C Levine
Surprisingly enough, it works for my customer. I was able to show them the
activities of my Linux box here, via that same router. We're still discussing the
necessaries, but it should be operational RSN.
Gregg C Levine drwho8 atsign att dot net

In article <YGgXb.16364$(E-Mail Removed)>,
(E-Mail Removed) says...
>
>Hello (again) from Gregg C Levine
>Thanks! I knew I was on to something there, in any event if this works out, I'll
>probably be doing that. And I'll probably be reccomending a similar solution if this
>demostration takes off.
>Gregg C Levine drwho8 atsign att dot net
>
>In article <(E-Mail Removed)>,
>(E-Mail Removed) says...
>>
>>On Fri, 13 Feb 2004 18:19:18 +0000, Gregg C Levine wrote:
>>
>>> Hello from Gregg C Levine
>>> (Long post follows.)
>>> Do any of you have any ideas for configuring a DSL router?

>>
>>yes.
>>
>>[...]
>>
>>> I was able to tell it, in the extra services blanks for SSH, but since I
>>> didn't know what the actual port pair was, I simply put down 22 for
>>> both, since I remembered seeing that number.

>>
>>Correct. 22 is for ssh. On the Linksys routers you just enter the same
>>port in both fields, if the "range" of ports is only one.
>>
>>> And 5901 for VNC.

>>
>>Also correct, assuming Xvnc is grabbing DISPLAY:1
>>
>>> However, for a project that I'm doing for a customeer, I need to be able
>>> to SSH from his site, into the Linux box. The same goes for VNC. The
>>> helpdesk for the router, doesn't really want to support Linux, even
>>> though that's what the router has inside. Therefore I would greatly
>>> appreciate finding out what port pairs, I need for both, to SSH from a
>>> remote site to here, and VNC from that same remote site, to here.

>>
>>- For ssh, all you need is port 22.
>>- VNC needs 5900 + the display it's running on. So, for example, if you
>>start xvnc and it grabs display :1, you'd have to connect to port
>>5901...Which is what you'd forward from the router to your machine. If
>>you're using something that allows you to connect to DISPLAY:0, like
>>xf4vnc, then you'd just use port 5900.
>>
>>That being said, I'd recommend only opening port 22 and tunnelling your
>>vnc through that. Not only will it be encrypted, and you'll have the
>>extra authentication, but compression should help performance.
>>Documentation for that can be found here :
>>http://www.uk.research.att.com/archive/vnc/sshvnc.html
>>
>>--
>>- Matt -
>>

>


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11