What is a VPN?
Have you ever wanted to communicate somewhat securely over a public network, like the Internet, in order to exchange confidential or sensitive information, passwords, or other data? You need a VPN to connect you from one point to another over the insecure public medium. This secure connection is the VPN, or Virtual Private Network. The VPN, whether purely software or by utilizing a VPN appliance device containing it’s own software, uses encryption software to construct a tunnel between the two points, thus allowing the user to exchange confidential information or sensitive login information between two points. VPN’s can also be useful for simply contacting your private network remotely, since you don’t want unknown entities to see your internal network infrastructure, hosts, or to sniff out your passwords.
On a similarly related line of thought, if you use UNIX or Linux, a good way to access your home network over the Internet from a remote point is to set up an SSH tunnel, where the Secure Shell is used to contruct a tunnel. You login to the remote UNIX or Linux host via SSH, and then you can launch graphical Xwindows applications using an SSH tunnel. You can do this from a Windows client by using the Cygwin or other software which allows one to run POSIX, GNU, and UNIX/Linux utilities on a Windows machine. You can do this from work if your network allows this sort of Internet access. It is handy to be able to access your home UNIX/Linux server over an SSH tunnel.
$ ssh -X u...@server.homenetwork.com
$ ssh -X user@<public ip address of server>
You can requests compression of all data to improve up user experience (good for a low speed link such as wan link) using -c option:
$ ssh -c -X user@<public ip address of server>
You can then run any Xwindows application on the remote xterm by simply typing the program executable name followed by the ampersand to spin it off into it’s own process ID. You can also run an entire desktop like KDE, Gnome, or the default Xwindows desktop with the startx command.



