Last month, we completed our discussion on how to setup and configure a VPN client to connect to the VPN host we configured the month before. We also outlined some common troubleshooting techniques to help you resolve some of the connection issues you might run into. This month we conclude our discussion by how to access your network resources via the VPN.
First off, we need to make sure that both the host and the client computers use the same Workgroup name. Verify this by going to Control Panel and clicking on System. Look under the section Computer name, domain, and workgroup settings. In Vista, the default Workgroup name is WORKGROUP, but you can change this to practically anything. For Vista PCs, this step isn’t absolutely necessary, but it will increase performance, and it’s a must if your client PC uses Windows XP.
Next, Vista makes use of two different connection types, Public or Private. Private, as you might suspect, is the setting you want for your home or work network, as it will allow your system to see, and be seen, by other devices on the network. This is the setting to use with the VPN connection.
You should use the Public setting only in unsecured locations (like airport or coffee shop hotspots) to help protect your system from unauthorized or malicious access. This is managed by Vista’s Network Discovery function. If your network is set to Private, then by default Network discovery is on. You can verify these settings by clicking Start > Control Panel > Network and Internet > Network and Sharing Center and clicking on the down arrow next to the word Network Discovery.
With that now out of the way, we can get started. There are three primary functions available to you when using the VPN: file and folder sharing, remote printing and Remote Desktop.
VPNs are most commonly used for file and folder sharing. This is where people on a network can access and files and folders stored on a networked computer no matter where that computer is physically located. Setting up this functionality isn’t all that complicated, but there are a few specific steps you need to perform.
You now have the capability to Share files and folders. However at this point, you haven’t configured any shared folders. So let’s do that now.
Now if you go to the Network and Sharing Center, at the bottom of the dialog box click where it says, Show me all the shared network folders on this computer. Doing so opens a window showing you all of your shares. The VPN_Projects folder should now be visible.
*Note that if you’re using a third-party software firewall (e.g., something other than Vista’s built-in Windows Firewall) you might run into some configuration issues. If you do, try TEMPORARILY disabling it until you can isolate the problem.
On the client PC, you need to map a drive to the shared folder. Unfortunately, the odds are you won’t be able to browse for the host PC since the VPN won’t pass NetBIOS traffic. For this reason you’ll need to know the IP address of the Host PC and the shared folder name.
Remember, the IP address is not the global IP address you used to connect the VPN client to the Host PC, but the local LAN address of the PC. If you don’t remember the address, you can find it by opening a DOS window on the host PC and typing IPCONFIG. Ours is 192.168.0.101.
Once you’ve 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 you’ll have full access to all the files and folders contained in it.
If you don’t 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 you’ve 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. Let’s 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, it’s 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.
Huawei’s AI Update: Things Are Moving Faster Than We Think
FEATURE | By Rob Enderle,
December 04, 2020
Keeping Machine Learning Algorithms Honest in the ‘Ethics-First’ Era
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 18, 2020
Key Trends in Chatbots and RPA
FEATURE | By Guest Author,
November 10, 2020
FEATURE | By Samuel Greengard,
November 05, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 02, 2020
How Intel’s Work With Autonomous Cars Could Redefine General Purpose AI
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 29, 2020
Dell Technologies World: Weaving Together Human And Machine Interaction For AI And Robotics
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 23, 2020
The Super Moderator, or How IBM Project Debater Could Save Social Media
FEATURE | By Rob Enderle,
October 16, 2020
FEATURE | By Cynthia Harvey,
October 07, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
October 05, 2020
CIOs Discuss the Promise of AI and Data Science
FEATURE | By Guest Author,
September 25, 2020
Microsoft Is Building An AI Product That Could Predict The Future
FEATURE | By Rob Enderle,
September 25, 2020
Top 10 Machine Learning Companies 2020
FEATURE | By Cynthia Harvey,
September 22, 2020
NVIDIA and ARM: Massively Changing The AI Landscape
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
September 18, 2020
Continuous Intelligence: Expert Discussion [Video and Podcast]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 14, 2020
Artificial Intelligence: Governance and Ethics [Video]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 13, 2020
IBM Watson At The US Open: Showcasing The Power Of A Mature Enterprise-Class AI
FEATURE | By Rob Enderle,
September 11, 2020
Artificial Intelligence: Perception vs. Reality
FEATURE | By James Maguire,
September 09, 2020
Anticipating The Coming Wave Of AI Enhanced PCs
FEATURE | By Rob Enderle,
September 05, 2020
The Critical Nature Of IBM’s NLP (Natural Language Processing) Effort
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
August 14, 2020
Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.
Advertise with TechnologyAdvice on Datamation and our other data and technology-focused platforms.
Advertise with Us
Property of TechnologyAdvice.
© 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this
site are from companies from which TechnologyAdvice receives
compensation. This compensation may impact how and where products
appear on this site including, for example, the order in which
they appear. TechnologyAdvice does not include all companies
or all types of products available in the marketplace.