Re: SSH, VNC and a Router
From: some girl (some_girl_at_hotmail.net)
Date: 04/26/03
- Next message: John Morris: "ssh drops connection before prompt, after succesfull password"
- Previous message: Darren Tucker: "Re: OpenSSH 3.6.1p1 and AIX 4.3"
- In reply to: Adam Krumholz: "SSH, VNC and a Router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 26 Apr 2003 05:49:02 GMT
You have to forward port 5901 because you are forwarding from the wan ip
port.
Do this instead:
ssh workerbee@12.248.17.45 -L5901:127.0.0.1:5901
Now you only need forward port 22
"Adam Krumholz" <adamkrumholz@NOSPAMattbi.com> wrote in message
news:R%mla.137728$OV.227868@rwcrnsc54...
> VNC, SSH and a LinkSys Router
> After reading the many post covering SSH, VNC and rounters I got my
> connection to work. But, I don't understand one step.
>
> Step 1: On my LinkSys router I forward port 22 and 5901 to my Linux PC
> Step 2: On the Linux PC I run vncserver, and sshd
> Step 3: From my work PC I run SSH with the following switch:
> ssh workerbee@12.248.17.45 -L5901:12.248.17.45:5901
>
> Step 4: run the viewer on my work pc using localhost:5901
>
>
> An X windows session starts and every thing is ok. I am a newbie and what
I
> don't under stand is why I need to forward port 5901 from my router to the
> Linux PC. I tried the above setup without 5901 forwarded and I was unable
to
> make a connection. If I am tunneling, shouldn't fowrding port 22 be enough
?
> And is my setup forwarding 5901 still using SSH(port 22) and secure ?
>
> Router: LinkSys Router BEFSR41
> Linux OS RedHat 9
> Work PC: Windows XP
>
> Thanks in advance
>
>
- Next message: John Morris: "ssh drops connection before prompt, after succesfull password"
- Previous message: Darren Tucker: "Re: OpenSSH 3.6.1p1 and AIX 4.3"
- In reply to: Adam Krumholz: "SSH, VNC and a Router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|