Andrea: The first thing you must realize is that this is not a VNC problem, but the way TCP/IP works in general, and how it's setup at your site specifically. The solution present here solves tcp/ip problems and can be used for many things.
Once that is understood, we can procede to install software that will help you get around the limitations of your TCP/IP setup. A Question from me: Do you have a firewall on City x Pc and on City y PC? If so, you just need to add a couple of redirections to get it working. But the method I would suggest is called "cygwin" and I just made a documentation on how to install it on a windows machine, so I'll include a copy... Note that the follwoing is diferent in your case: You will be getting the setup program from www.cygwin.com you will be doing an "Installation from Internet" and not from a local directory. Otherwise the procedure is the same... Once you have this setup, you need a ssh client, to start the redirections, I use putty which you can get from http://www.chiark.greenend.org.uk/~sgtatham/putty This will allow to connect to your newly installed ssh servers, and setup the tunnels required for VNC. Once this is done... write me again, and I'll help you seet up the tunnels... Jerry On Fri, 2002-12-06 at 13:59, Andrea Demartini wrote: > How it is made to install the service that you say? > I, for a long time, have activated to it from the icon Install Winvnc > Service (folder Amministrative Tools). > > which manual modifications I must make on the registry of windows? > > I must make them on PC 2 which I must approach or on the pc1 (what > physically it is connected to Internet? > > Thanks > > -----Messaggio originale----- > Da: Jerry Westrick [mailto:[EMAIL PROTECTED]] > Inviato: venerdl 6 dicembre 2002 11.46 > A: [EMAIL PROTECTED] > Oggetto: Re: pc nertwork internet sharing > > > Good morning Andrea: > > You got 2 problems: > > 1) when you enter 151.133.10.55:1 you are not trying to reach PC n in > city x. You are trying to reach Screen #1 on City PC x... Thoose are 2 > very diferent things... > The :1 .. :2 are used for unix vncservers, and are practically worthless > on windows. So ignore them and always use :0. > > 2) having understood that, your next question is then "How do I access > PC x from the inter?". And the answer is: it's not easy to do! > > The are several ways to do this: > > The easy way: > Open a vnc window on CIty X PC, then on CITY X PC, open a vnc to PC n! > This works, and you can use it this way till you get the next one > working! > > The real way: > You need to setup a service on you City Pc's to redirect vnc connections > to the internal PC's... While you are doing this you should also add > encryption to your vnc connections (to avoid other people looking at > what you are doing!), and lastly you need to guard against > "Man-in-The-Middle" attacks... > > > Sounds all very complicated? It's not really that bad... > > Again there is 2 ways to go: > > Join the 2 networks into one with a VPN, then all machines can ping each > other, and you can share windows files, printers etc... This is done > via VPN setup... This sends alot of data through the internet so you > need pretty ggod internet connections at both ends! > > > The second method is to secure just VNC connections using ssh server, or > ZeBeDe. I personally have never used the ZeBeDe stuff, but have done > quite a bit with the ssh software... > > > > On Fri, 2002-12-06 at 11:10, Andrea Demartini wrote: > > With the serveur vnc, from the citta y, I indicate IP address Internet > given > > to me from citta x (example 151.133.10.12) With the viewer, from citta the > > x, I indicate IP address Internet given to me from the city y (example > > 151.133.10.55) the problem is that I want to catch up PC n. 2 of the city > y. > > I have tried also to make... > > 151.133.10.55:1 > > 151.133.10.55:2 > > 151.133.10.55:3 > > but it does not work. > > > > Andrea > > > > > > -----Messaggio originale----- > > Da: Andrea Demartini [mailto:[EMAIL PROTECTED]] > > Inviato: giovedl 5 dicembre 2002 13.04 > > A: Jerry Westrick > > Oggetto: R: R: pc nertwork internet sharing > > > > > > The logon with VNC works correctly between the PC connected from (example) > > city x (VCN VIEWER) to pc into city y (VNC SERVER) if: > > - the PC of the city y is what physically it is connected to Internet (PC > > n.1) > > - the PC of the city y has disabilited the sharing to Internet > > > > If instead I want to catch up the PC n.2 of the city i do not succeed. > > > > How I make? > > > > Example: > > the main computer (town y) when they are connected in net has two IP > > addresses: > > 1. that one of the net card, as an example 199.168.33.01 > > 2. that dynamic one of Internet, as an example the 151.133.10.55 > > > > computer n. 2 of mine lan (town y) has only the address of the net card, > as > > an example 199.168.33.01 > > > > With a VNC viewer (town x) i have tried to set up 151.133.10.55:2 as an > > example OR 151.133.10.55:3 etc but do not work. > > > > my little drawing > > > > INTERNET > > | > > | 151.133.10.55 > > +------+-------+ > > | Internet PC | > > +------+-------+ > > | > > | > > | +------+ > > +-----------------+ PC 1 net card 199.168.33.01 > > | +------+ > > | > > | +------+ > > +-----------------+ PC 2 net card 199.168.33.02 > > +------+ > > > > > > -----Messaggio originale----- > > Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Per > > conto di Jerry Westrick > > Inviato: giovedl 5 dicembre 2002 11.15 > > A: [EMAIL PROTECTED] > > Oggetto: Re: R: pc nertwork internet sharing > > > > > > Hello Andrea: > > > > FIrst off, don't give up, we'll get you the information you need... > > Although it may take a while 8-) > > > > Here goes a little drawing to show what I understood: > > > > INTERNET > > | > > | 151.133.10.55 > > +------+-------+ > > | Internet PC | > > +------+-------+ > > | 199.168.33.01 > > | > > | 199.168.33.?? +------+ > > +-----------------+ PC 1 | > > | +------+ > > | > > | 199.168.33.?? +------+ > > +-----------------+ PC 2 | > > +------+ > > > > > > I understand that vnc conections between PC-1 and PC-2 work when the > > internet sharing is off. > > > > And that the vnc connections does NOT work when internet sharing is on. > > > > And lastly you have a more questions which I did not understand...8-( > > > > > > ANSWERS > > > > VNC requires a working TCP/IP system. when the TCP/IP system works then > > you get a connection. When it doesn't you don't. What I think your > > problem is that the TCP/IP is not configure correctly when you have > > internet sharing on! To test this you can do the follwoing: > > > > 1) start internet sharing > > 2) in DOS-BOX try to ping each machine with "PING 199.168.33.xx". > > 3) do this on all machines... > > > > > > If this does not work then you have a TCP/IP problem, which must be > > fixed before VNC can work. > > > > > > > > COMMENTS: > > a correct ping looks like this: > > ============================================================== > > > > C:\Documents and Settings\jerry>ping 10.0.0.198 > > > > Pinging 10.0.0.198 with 32 bytes of data: > > > > Reply from 10.0.0.198: bytes=32 time<1ms TTL=128 > > Reply from 10.0.0.198: bytes=32 time<1ms TTL=128 > > Reply from 10.0.0.198: bytes=32 time<1ms TTL=128 > > Reply from 10.0.0.198: bytes=32 time<1ms TTL=128 > > > > Ping statistics for 10.0.0.198: > > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > > Approximate round trip times in milli-seconds: > > Minimum = 0ms, Maximum = 0ms, Average = 0ms > > > > An incorrect ping looks like this: > > =============================================================== > > C:\Documents and Settings\jerry>ping 10.0.0.177 > > > > Pinging 10.0.0.177 with 32 bytes of data: > > > > Request timed out. > > Request timed out. > > Request timed out. > > Request timed out. > > > > Ping statistics for 10.0.0.177: > > Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), > > > > I hope this helps a little > > Jerry > > > > > > On Thu, 2002-12-05 at 10:54, Andrea Demartini wrote: > > > I use VNC on both computers (VNC server and VIEWER) with Windows 98 > > > > > > Problem 1 > > > 1. on both the computers are qualified the "Sharing logon to Intertnet" > > > (software supplied from Microsoft for small local nets). > > > 2. when I connect myself with viewer the VNC to server VNC if I have > > > qualified the Sharing logon to Internet I do not succeed to approach to > > you, > > > if the disabilito one I succeed to approach to you. > > > > > > Problem 2 > > > If I want to approach computer n. 2 of my small LAN as I must make? > > > I must have assets on the main computer that approaches to Internet the > > > server of VNC or solo on the PC n.2? > > > the "Sharing logon to Intertnet" must be active? Which IP address tax > > from > > > the viever and the serveur? > > > > > > Example: > > > the main computer when they are connected in net has two IP addresses: > > > 1. that one of the net card, as an example 199.168.33.01 > > > 2. that dynamic one of Internet, as an example the 151.133.10.55 > > > > > > computer n. 2 of mine lan has only the address of the net card, as an > > > example 199.168.33.01 > > > > > > With a viever of VNC I have tried to set up 151.133.10.55:2 as an > example > > OR > > > 151.133.10.55:3 etc but do not work. > > > > > > Give an aid to me? Thanks. > > > _______________________________________________ > > > VNC-List mailing list > > > [EMAIL PROTECTED] > > > http://www.realvnc.com/mailman/listinfo/vnc-list > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > http://www.realvnc.com/mailman/listinfo/vnc-list [demime 0.99d.1 removed an attachment of type application/octet-stream which had a name of Installing Cygwin SSH Server.doc] _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
