connecting to a linux box through a firewall using ssh...Need
Help
R D
rmdoyle75@hotmail.com
Thu Sep 25 19:34:01 2003
Hello,
I've been going through the list archives but can't seem to find a thread to
help me. I'm probably not typing in the correct search words.
I am trying to set up VNC so i can access my linux server at work from home.
I have XP Home on my client computer. The linux server is behind a
firewall/gateway and not directly connected to the internet.
I use putty to ssh into work to get the command prompt using port 20443.
I've installed the VNCServer on the linux box and the windows client at
home.
In putty, under SSH/Tunnels option, i've enabled X11 forwarding and entered
the X display location as hostname.of.linux.server:5901. Remember my server
is on a Private network. X11 forwarding is also enabled on the server.
In the port forwarding area, i added a new forward port, with the source
port L20443 and the destination port hostname.of.linux.server:5901.
I start the vncserver and try to connect use my viewer. I've tried
connecting the following ways:
name.of.gateway.server
name.of.gateway.server:1
name.of.gateway.server:2
name.of.gateway.server:20443
For the first 3 ways, i get "Failed to connect to server". When i try 20443,
I get "Invalid Protocol".
20443 is the only port open to the outside.
Do i need to execute a command similar to this on the gateway:
ssh -L 5902:localhost:5901 gw
If i do, what should it be?
Any help would by appreciated.
Ryan Doyle
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail