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 -