vnc tunneling over ssh
From: Wolfgang Ebersbach (wolfgang.ebersbach_at_micronas.com)
Date: 01/07/04
- Next message: Clifford Kite: "Re: PPP Modul"
- Previous message: James Hastie: "basic firewall/NAT setup"
- Next in thread: Georg Armbruster: "Re: vnc tunneling over ssh"
- Reply: Georg Armbruster: "Re: vnc tunneling over ssh"
- Reply: Xenna: "Re: vnc tunneling over ssh"
- Reply: Skylar Thompson: "Re: vnc tunneling over ssh"
- Reply: William Hooper: "Re: vnc tunneling over ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 07 Jan 2004 14:43:37 +0100
Hi together,
I try to tunnel a vnc connection over ssh in order to get trough a firewall:
vnc_host-->firewall-->vnc_client.
What I do ist:
vnc_client# ssh -L 5901:localhost:5901 vnc_host
After login to vnc_host :
vnc_host# vncserver
Which starts the vnc server on port 5901 on vnc_server, as expected.
Then :
vnc_client# vncviewer localhost:5901
or
vnc_client# vncviewer localhost:1
which both leads to this result:
At vnc_client:
vncviewer: VNC server closed connection
and at vnc_server:
4409: channel 3: open failed: connect failed: Connection refused
The problem can not be in SSH, because if I do X11 forwarding via SSH
( ssh -X vnc_server ) it works.
If I try to forward the TCP port instead :
vnc_client# ssh -L 5801:vnc_client:5801 vnc_server
,I get the same problem as with port 5901. In fact, I can use any ports
I want, vnc forwarding never works.
There are no entries in the logfiles whatsoever. Several queries to google
groups lead no useful results.
Any help would be greatly appreciated.
Regards,
Wolfgang
- Next message: Clifford Kite: "Re: PPP Modul"
- Previous message: James Hastie: "basic firewall/NAT setup"
- Next in thread: Georg Armbruster: "Re: vnc tunneling over ssh"
- Reply: Georg Armbruster: "Re: vnc tunneling over ssh"
- Reply: Xenna: "Re: vnc tunneling over ssh"
- Reply: Skylar Thompson: "Re: vnc tunneling over ssh"
- Reply: William Hooper: "Re: vnc tunneling over ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|