Help: I want to connect to my network at home from other computers

Zach Dennis zdennis "at" mktec.com
Mon Jan 24 14:15:01 2005


p.bragin "at" pccag.com wrote:
> 
> 
> 
> 
> 
> Hello!
> 
> Dear Zach,
> 
> my questions are in a little other area... ;)
> 
> We tested VNC a little already, but...
> 
> 
>>>I mean, that using RADMIN on one host ( connected to LAN and WAN ),
>>>you can connect to this host from Internet-somewhere and get access to
>>>other
>>>LAN workstations running RADMIN. Is it possible the same with VNC?
>>
>>You can remotely connect to practically any computer (running, OSX, any
>>unix/linux and all windows) with vnc.
> 
> 
> Of course you can... but is it possible to make such a thing :
> 
>>From some 212.x.x.x ( as example ) connect via LAN Gateway ( Linux serv=
> er -
> no GUI )  with :
> 
> eth0 : 195.x.x.x.x
> eth1:  10.10.0.1
> 
> to workstation 10.10.0.2 and use it as gateway to other workstations in LAN
> as 10.10.0.3, e.t.c.
> 
> or... you have to change firewall ( NAT ) settings on Linux server
> everytime you
> want to connect to new workstation...
> 
> That was the main question. Now I hope you understand me better.
> 

Ah, yes...now I understand you better. And the answer is yes you can. In 
order to do it you need to use SSH. Open port 22 on your firewalls, and 
you put ssh on a server. You can port forward to any port you want 
through ssh.

For example to connect from my house into our corporate network to my 
workstation i do:

ssh -L 5900:10.0.1.44:5900 zach "at" my_big_corporate_network.com

then i open VNC and use "localhost" as my server. There is a big section 
on the realvnc faq that hits this up.

Does this help?

Zach