Professional Documents
Culture Documents
VNC:
VNC stands for Virtual Network Computing. It allows you to remotely view and control a PC desktop, and will run on a wide variety of operating systems. Visit the VNC website for more information, or to download it.
Requirements:
You'll need: A Smoothwall installation (obviously...). PuTTY 0.52 or later. VNC installed on the PC on your green network. TCP port 222 opened on your Smoothwall server. The red IP address of your Smoothwall server (or a dynamic dns account).
PC 1 is a Windows PC, with VNC Viewer and PuTTY installed on it. PC 2 is your Smoothwall server. PC 3 is a PC behind your Smoothwall server, running VNC Server. From PC 1, you need to establish a SSH connection with PuTTY, and get PuTTY to forward the VNC port over this SSH connection. To do this, you need to configure PuTTY as follows: For the hostname, specify the hostname or red IP address of your Smoothwall server. Select the S S Hprotocol, and specify the port as 2 2 2 .
martybugs.net/smoothwall/puttyvnc.cgi
1/4
13/12/5
Then go to the T u n n e l sconfiguration, and add a new forwarded port, specifying the source port as 5 9 0 1 , and the destination as < p c > : 5 9 0 0 , where < p c >is the name or IP address of the PC on your green network which you want to remotely connect to, 5 9 0 1is the port number on local PC which you will be forwarding, and 5 9 0 0is the VNC port on your PC on your green network. Click the A d dbutton to add this forwarded port.
Note that the destination port numbers may need to be modified for your particular configuration. A VNC Server on a Windows PC will listen on port 5900, while the first VNC instance on a Linux server will listen on port 5901, the second on port 5902, etc. Also note that if you specify a destination hostname instead of an ip address, your Smoothwall server must be able to resolve this hostname. If you want to save the configuration settings before proceeding, go back to the S e s s i o nconfiguration, specify a s a v e ds e s s i o nname, and click the s a v e button. To connect to your Smoothwall server, click the O p e nbutton
martybugs.net/smoothwall/puttyvnc.cgi
2/4
13/12/5
When the connection is established, you'll be prompted for a username (specify r o o t ) and the root password of your Smoothwall server. Login, and you'll have a ssh prompt on your Smoothwall server. You now have a secure SSH connection between your Windows PC and your Smoothwall server, and are forwarding port 5901 to port 5900 on your PC on your green network.
You can then safely administer the PCs on your green network over this secure channel.
Dynamic DNS:
If you want to connect to your Smoothwall server via the internet, you'll need to know its red IP address. The easiest way to do this is to sign up for a (free) dynamic DNS account, such as no-ip.com. Refer to the s e r v i c e s ->d y n a m i cd n spage of your Smoothwall GUI to see which ones are supported natively by Smoothwall GPL. Once you've signed up with a dynamic DNS provider, you'll have to configure your Smoothwall server to register with this provider whenever it establishes an internet connection. This configuration can all be done through the Smoothwall GUI. Once configured, you'll then be able to connect to the red interface of your Smoothwall server via the internet, using the domain name you signed up with.
References:
Making VNC more secure using SSH Real VNC PuTTY User Manual SSH Tunnelling
martybugs.net/smoothwall/puttyvnc.cgi
3/4
13/12/5
last updated 19 Jan 2013
web by mpot. all content and images are copyright 2001-2013 Martin Pot (mpot). all rights reserved. unauthorised duplication, reproduction or distribution is prohibited. .
martybugs.net/smoothwall/puttyvnc.cgi
4/4