How to set up a VPN between 2 machines connected to seperate wireless LAN's

Posted on 2006-05-21
Last Modified: 2010-04-12
Hope you can help..

I need to have a secure connection to access and transfer files between 2 XP machines.

One end is my home network, at the other i am logged in through work and i have a dynamically assigned IP.  Is there a way to do this?
Question by:danny79gmailcom
    1 Comment
    LVL 77

    Accepted Solution

    You can use the built in Windows VPN software to create a client server relationship, in conjunction with a DDNS (Dynamic Domain Name Service) where you do not have static IP addresses.
    Choose one 'end' to be the VPN server. I will assume you are running Windows XP. Instructions on creating the server end can be found here:
    The client end can be configured with the following:

    You will also have to forward port 1723 on the router at the 'server' end to the computer acting as a VPN server. Finally on the same router you need to enable PPTP pass-through. This could be called GRE, PPTP or VPN pass-through depending on the router. You can find specific information as to how to configure port forwarding for your router at:
    Click on the link for your router and on the resulting page click on the link for "Point to Point Tunneling Protocol"

    Once set up rather than pointing to an IP address you will use a domain name like provided by the DDNS service which will track the IP if it changes. Below are instructions for setting up a DDNS service I made up a while ago.

    The other option is to set up the VPN with 2 VPN routers using the hardware devices rather than software. If you are prepared to purchase these, such as the Linksys RV042, the connection will always be open and available and likely more stable.

    Hopefully this will put you on the right track.

    In case you are not familiar with DDNS (Dynamic Domain Name Service), they are free services that give you a name like and they track your dynamic IP. You either have to configure the router for the service, or download a little piece of software for your computer, and it advises the DDNS service of any changes to your dynamic IP. The recommended method is using the router, otherwise the computer with the installed software has to be left on. Now whenever you enter, the FQDN (Fully Qualified Domain Name), it directs you to your WAN IP or the router. There are numerous free services available;,, and, to name a few. I prefer You need to contact the service provider such as and set up a free account, and a host name/Dynamic DNS service for your IP. You can have 5 IP's with a free account. Once done you will have a host name like, a user name, and a password. Enter these in the router's DDNS page.

    Note: There is a catch with the free service and possibly some of the others. If the IP doesn't change for 35 days, it needs to be manually updated, otherwise your account is considered dormant and the Host name, not your account, will be dropped. They usually send you a warning a few days in advance. If the service works for you, I would recommend paying the $9.95 a year that overrides the 35 day limit. It also allows you to list 20 IP's with a paid account.

    Specific instructions for;
    After you create an new user account with ,  log in and at the top of the page click on 'Account' and then middle of the page choose 'My services'. Near the bottom of the page you will see Host Level Services. If you haven't done so you will need to set up a domain name. I would recommend starting with a fresh one regardless. Do so by clicking "Add host service", then "Add Dynamic DNS Host". Now fill in a Host name of your choosing like "myname" and choose a suffix like "" (any one in the list will do). Your current IP, if you are connecting from the site where you will be using this, will be displayed in the next box. If not, change it to the current IP.  If you don't know it you can find by going to  Now click "Add Host". Leave Wildcards and Mail fields empty.

    Now in your router set up (my recommendation), or in your DDNS software application enter your hostname, or what ever you choose, your password and choose the service, dyndns if asked and you are done. Make sure you only use one, the router or the application, not a good idea to use both.

    Now to test. You know how to find your IP by going to so verify that. Now at a command prompt (DOS window) enter nslookup  (substitute your domain name) and it should resolve/return the proper WAN IP you located above.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    NetScaler Deployment Guides and Resources

    Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

    Suggested Solutions

    Like many others, when I created a Windows 2008 RRAS VPN server, I connected via PPTP, and still do, but there are problems that can arise from solely using PPTP.  One particular problem was that the CFO of the company used a Virgin Broadband Wirele…
    Secure VPN Connection terminated locally by the Client.  Reason 442: Failed to enable Virtual Adapter. If you receive this error on Windows 8 or Windows 8.1 while trying to connect with the Cisco VPN Client then the solution is a simple registry f…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now