Once youve got the IP address of the computer you want to connect to, just follow these steps:
That's it, now drive Z: is connected to the VPN_Projects folder, and youll have full access to all the files and folders contained in it.
If you dont want to memorize the IP addresses of your network devices, you can create an LMHOSTS file and place it on your client PC. An LMHOSTS file is a static table that resolves a host name to an IP address and assists with remote NetBIOS name resolution.
To create an LMHOSTS file you must open Notepad and enter the IP address and name of all of your network devices (PCs, printers, etc.) and the extension #PRE. Following any entry in the file with the characters #PRE will cause the entry to be preloaded into the name cache for faster resolution.
An example of the contents of an LMHOSTS file would be:
In this example, the first entry is our VPN-Host PC and the other is our network printer. After you make the appropriate changes to the file, save it as: LMHOSTS. DO NOT use any file extension. This is important because sometimes Notepad places a .TXT extension to the end of a document youve created, which in this case would prevent the file from functioning properly.
Copy the LMHOSTS file to the C:Windowssystem32driversetc folder on the VPN client computer and reboot the system. The client can then use the syntax \ComputerNameShareName to access shared folders on the remote network (ex. \VPN-HOSTVPN_Projects).
Setting up the capability to access a printer attached to the Host PC (or even to a regular network printer) is very similar to setting up a shared folder. Lets begin.
Now you can access a remote printer. All you need to do now is configure it on the client PC. First, make sure you have either the Port name or the IP address of your printer. Like the PC, its always best to use static IP addresses for network devices whenever possible. Otherwise you run the risk of the device not working one day because its address changed unexpectedly.
At this point the PC client will automatically go out to the network to retrieve the printer driver and configure it for use with your system. It might ask you to name it, ask if it should be the default printer and print a test page. Once completed, click Finished, and your printer is now setup and ready to go!
A VPN connection also makes certain Vista features, such as Remote Desktop, much easier to use. With Remote Desktop you can use, for example, your home computer to access your office PC as if you were sitting right in front of it with access to all of your programs, files, and other network resources (like external hard drives and printers) without having to configure any specific folders or user permissions.
Typically setting up Remote desktop to function over the Internet can be EXTREMELY problematic. Yet, you can have it can be up and running over the VPN in just a few clicks. The only caveat to Remote Desktop is that the machine you want to access remotely (a.k.a. the host) has to be running Vista Business, Enterprise or Ultimate Edition. The PC used to access the host system (a.k.a. the client) can be running Windows XP or any version of Vista.
You'll find detailed setup and configuration guidance for Remote Desktop in this August 2008 article entitled, From a Distance: Your Vista System Made Accessible.
This concludes our discussion on setting up a Virtual Private Network. Remember that these three columns only represent a small number of the benefits and cost savings you can realize from implementing VPN technology. For more extensive and robust solutions, you should seek the help and guidance of a qualified IT professional. Until next month, good luck!
Ronald Pacchiano is a contributing writer for SmallBusinessComputing.com, where this article first appeared.