Very interesting.

I have, unfortunately, no experience with NetBSD ipfilter. Could it be acting
differently depending on which side initiates the connection? Try making a
reverse connection. See the "Reverse connections" section at the bottom of
http://www.uk.research.att.com/vnc/xvnc.html.

Another thought; can you run an iptrace on port 5900 on the firewall?


Date:          13.12.2000 03:30
To:            [EMAIL PROTECTED]




Reply to:      [EMAIL PROTECTED]

Subject:       VNC server behind firewall - connects and authenticates OK, but
no display
Message text:


Hi all,

I'm having some slightly unusual problems using VNC through a firewall, and
I've searched around for the exact problem in the FAQ and mail archives but
haven't come up with anything.  I'm attempting to use VNC in the following
environment:

 vncviewer on
NT Workstation          Home gateway/firewall        Home Windows box
   at work             (NetBSD 1.4, ipfilter)         WinVNC server
      |                      |        |                     |
      +------ Internet ------+        +---------------------+
                                              Home LAN

The NetBSD machine is using ipfilter to redirect incoming connections (i.e.
on
the interface connected to the Net) on port 5900 to port 5900 on the Windows
machine on the LAN at home.

Now, I can run vncviewer fine on hosts on the home LAN, but I have problems
when using vncviewer on my NT Workstation at work.  It connects OK and
authenticates as usual, but doesn't seem to get any display data at all, and
it simply disconnects after a few minutes.  Since VNC only uses one data
port,
I don't see why the connection would work fine to begin with and then
suddenly
stop allowing packets.  From the bit of experimenting I was able to do, it
looks as though client data about mouse movement etc. is getting through to
the server, but no display data is going back the other way.

I also tried using the Solaris VNC viewer on a Sun system at work, and had
the
same problem.  Here's its output (the "Connection reset" line appeared after
a
couple of minutes of apparent inactivity):
<<
VNC server supports protocol version 3.3 (viewer 3.3)
Password:
VNC authentication succeeded
Desktop name "home"
Connected to VNC server, using protocol version 3.3
VNC server default format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to
type FontStruct
Using default colormap and translating from BGR233.  Pixel format:
  8 bits per pixel.
  True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Got 225 exact BGR233 colours out of 256
Using 6 existing shared colours
vncviewer: read: Connection reset by peer
>>

BTW, running the VNC server on my work machine and the viewer at home works
fine, in case that's relevant (which I kind of doubt).  Any ideas on what to
do next in the way of troubleshooting?  I figure it's probably something to
do
with my firewall setup (which I can freely change).

Thanks in advance,
Chris Edwards
--
"Nondeterminism means never having to say you are wrong."
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------





--

Diese E-Mail enthdlt vertrauliche und/oder rechtlich gesch|tzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt|mlich
erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie
diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorised
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to