how to connect a pc in a vpn .
You first need a VPN server to connect and authenticate with. Depending on how you configure it and how secure you want it to be, you can configure your PC through network and sharing centre, in control panel. If you want to link to a VPN server which is already set up, then you will need the vpn server public internet address or fqdn and your username and password.
File and Folder Sharing
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.
- Log into your Host PC using an account with administrative privileges and click Start > Control Panel >Network and Internet > Network and Sharing Center.
- Go to the Sharing and Discovery section and click on the down arrow next to the word File sharing
- Select Turn on file sharing and press Apply.
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.
- Create a folder on your desktop to share. For our example we’ll call ours VPN_Projects and populate it with some data (documents, pictures, presentations, etc.)
- When finished, right-click on VPN_Projects and select Share.
- This will bring up a dialog box asking you to Choose people to share with. Your user account will be listed by default. If you use another account for your VPN access, enter it here. During the last column we used VPNUSER. When finished, press Share.
- This process might take a few minutes. Once it’s finished, your folder will be shared. Click Done to complete.
- Now right-click on the VPN_Projects folder and select the Sharing tab.
- Press the Advanced Sharing button. *Windows might ask for your permission to continue. If it does just press Continue.
- One the next screen, check the Share this folder option. You also have the option of setting the number of simultaneous users who could access this folder. If you’re going to be the only one you can set it for 1. We’ll leave it at the default of 10.
- Now press Permissions. By default Everyone has Read access to the folder. My advice would be to remove Everyone and only add the specific user accounts which will need access. This would be the account you use to connect to the VPN (again, in last month’s column that was vpnuser).
- Type the username and then press Check Name to verify it. Once verified press OK. Under the Permissions for VPNUSER check Allow for Full Control. Press OK. Press OK again and then Close.
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.