Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: VPN Configuration for Remote Access to Home Network

23 Jul 2009   #1

VPN Configuration for Remote Access to Home Network

Hello, I am trying to configure a VPN to connect to my home network so that I can access files on my home computer whilst at the office. I have succeeded in being able to access a folder on my home desktop which I added using "add network location" on my laptop. However, while I'm connected through this VPN, I am using my home internet connection, going in through the router and then back out to the internet. So, is there a possibility of only using the VPN when I access the files on my home network and use the office internet for browsing... etc? Is this VPN configuration efficient or are there better ways to get access to files on my home PC remotely. Also, using this method I believe my router forwards all traffic on the VPN to my main home PC which assigns my laptop an IP. Is there anyway that I could just log into the router so that I was just another computer on the home network. As is I can only see files on the main home PC but it would be nice as well to have access to my HTPC.

My System SpecsSystem Spec
23 Jul 2009   #2

Windows 7 7600.16384 x64

You can enable offline files that will sync up docs every time you get back to your home network, but if you have GBs and GBs of file, may not be efficient.

Windows Live Sync
from MS, can sync all of you files and folder between 2 computers free and efficiently. Very awesome for someone who has a PC and laptop.

Dropbox is also another program that can do it.

I would need to hear more about how you are using the VPN connection and what hardware/method.... if it is just for accessing files, I would use one of the 2 above, preferably Windows Live Sync.
My System SpecsSystem Spec
23 Jul 2009   #3

Windows 7 7600.16384 x64

Can you tell me how you set up this VPN? Is this one that your router has built in, and you installed a client and access it that way?

Or are you using the built in advanced connection to create a vpn tunnel?
My System SpecsSystem Spec

23 Jul 2009   #4


You could always use remote desktop, and connect via IP address or use a dynamically updated host redirect (dynupdate,, etc.) and set your router to allow incoming connections on port 3389 (used by Remote Desktop) and you're set.

If you are running Vista or XP at work, you'll need to install the RDP Client - and set your W7 machine at home to allow connections from any RDP client, and then you'll be set. On the W7 machine, go to Control Panel --> System and Security --> System --> Remote settings (on the left side) to access the settings page. If your machines at work are running W7, you're golden - it's all there, ready to go. You'll still need to set the settings I mentioned on your router, regardless.

The only disadvantage I know of is that with a RD session, any user on the machine will be forced out of the system, as RD only allows for a single log in (a security feature).

This solution works perfectly well for me - I use W7 on both machines, my desktop and laptop, and I can access my desktop from my laptop from anywhere with a decent connection that is not blocking port 3389.

VPN Configuration for Remote Access to Home Network-rdp-settings.png

In my picture, I have it set for allowing only RDP Clients from W7 / Server 2008 R2. Use the one I have highlighted if you are connecting from an RDP Client on Vista or XP. Use the one below (that I have selected) if you're using W7 at work, too.

My System SpecsSystem Spec
23 Jul 2009   #5

Windows 7 7600.16384 x64

the only problem to that is that the port forwarding will only forward tcp 3389 to one machine. You will have to reg hack you other machines to run RDP on a different port, like 3390. Then forward that port on the router that machine.

That is how I use to do it before I built my smoothwall and now use OpenVPN.

Computer - port
Computer1 - 3389
Computer2 - 3390
Computer3 - 3391

set the RDP ports in the reg file, then forward those ports on your router. Then you have to setup a dynamic dns service on your router after registering one. Most routers support dyndns, no-ip, etc....

It all sounds crazy but its not.

It sounded though like you wanted to work on files from another machine though, and for that I would suggest a real VPN connection (some routers have this capability built in) or using one of the sync tools.

ps i thought it logged out the machine when RDP'ing in because of licensing and how you can only have 1 active session.
My System SpecsSystem Spec
23 Jul 2009   #6

Windows 7 7600.16384 x64

PS if you want to RDP in to multiple machines, and need to change the reg key on each, here is where it is located...


make sure you set it to decimal and not Hex.

I could have swore though if you RDP in to your machine machine at home, and from there RDP in to another machine on your home network it will connect you, but I could be wrong.
My System SpecsSystem Spec
23 Jul 2009   #7


Only a single computer was mentioned, hence the suggestion of RDP.
My System SpecsSystem Spec
23 Jul 2009   #8

Windows 7 7600.16384 x64

i thought he wanted an PC and his HTPC.
My System SpecsSystem Spec
24 Jul 2009   #9


Hey All

thanks much for all the response, I am able to connect remotely to one host via the native VPN functionality within 7. I have setup the dyndns and all that... So my router is set up to direct my remote request to the host and when I am out (remote) I can't see HTPC or my shares on it even when explicitly typing in the locations; I get an error with all the troubleshoot hooha. Furthermore, I thought my host computer would show up as a network computer when I was out (remote) but it currently doesn't, meaning if I want to access a folder I need to know its location. I really don't want a RDC I just want the access to my data, preferably all the computers on my home network on one VPN. So can this happen. Is there a method so that I tunnel to my router and it lets my remote laptop in to the home network and just sees my laptop as another computer behind the router without forwarding it to my main host? And to make it even more interesting, is there a way so that when I am using this remote VPN that it only uses it to get data off the computers and not for typical internet browsing which is much faster if I do it off the work connection.

My System SpecsSystem Spec
24 Jul 2009   #10

Windows 7 7600.16384 x64

What is the ip scheme of your home network?

eg. 192.168.1.x or

After you VPN in to home, can you do an ipconfig from command line and show me your IPs configured on your laptop from the remote network?

Can you ping any of your machines from the laptop when working remotely and connected via VPN?

You should be able to access lll of you home PCs via a VPN tunnel.

It may be one of the following:

1) You cannot resolve DNS names thru the tunnel (instead of access the PC by \\PCNAME, try \\192.168.1.x (or whatever that machine's IP is)

2) you firewall exceptions don't allow the remote IP acess to the network, because it is on another subnet. Basically, you firewall only allows 192.168.1.x machines to communicate with your LAN, and if the VPN adapter is getting assigned 192.168.2.x it sees it as a public connection and blocks it.

I have an old article on my old website on how to make these changes in Vista. Should be the same on 7. But it really depends on what the IP address the VPN adapter on the remote machine is getting... so if i cold see the ipconfig it would help.

Here is my old article, haven't migrated it yet to my new web server
My System SpecsSystem Spec

 VPN Configuration for Remote Access to Home Network

Thread Tools

Similar help and support threads
Thread Forum
Remote desktop within home network?
Is there an easy way to remote access a 7 system from XP within a home network? (No 3rd party software plz) I hear people are having problems with remote desktop away from home, but is it any different doing it between 2 pcs in the same house? Can I prevent people outside the network from...
Network & Sharing
home network remote. can it be done?
howdee Now that I have my home network working between my laptop and my desktop. (I am able to share files between them) I am onto my next project. Could someone give me instructions on how to set up a remote access? (for the best way to describe what i want to do) I do not want to go out of my...
Network & Sharing
Using Remote Access From Home: Can Work See My History?
My wife is at a job where it is very abusive and contentious, and recently they decided to not renew her contract because she didn't play by insane and illogical rules. It is all a big joke, they are offering severance in a hope that she keeps her mouth shut about what's been going on in the...
Network & Sharing
Remote access on home LAN
Evening all Just wanted some advice on remote connecting to my machines on my LAN. I have a desktop running Win 7 Home, a laptop running Win 7 Pro and my media machine running Win 7 Home. I would really like to access my media machine running Win 7 Home remotely on my LAN from my desktop...
Network & Sharing
Network and remote access for home photography business
Hello All Here's a question for all you network savvy guys and gals. My wife has a home based photography business. Her studio is located on our property. Currently her network consists of her PC, a Motorola DSL Modem/Router from ATT and an external USB HD. She would like to be able to...
Network & Sharing
Using Windows Home Serverís Remote Access to connect an

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 21:55.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App