Login

Forgot password?

We love free and open web!

Author Topic: Setting up a PPTP Client on Windows XP™  (Read 94199 times)

Offline Administrator

  • Administrator
  • Jr. Member
  • *****
  • Posts: 88
    • View Profile
Setting up a PPTP Client on Windows XP™
« on: November 07, 2011, 12:47:21 AM »
This is super easy, and you only have to type one piece of information the entire time!

Start by accessing the Network Connections Panel. (do this however you like, I prefer to right click “Network Places” and select Properties.)

1. Click “Create New Connection” in the left hand column of the “Network Connections” window.

2. You are now presented with a Wizard. Click Next to continue.



3. Select “Connect to the Network at my Workplace” from the menu.



4. Select Virtual Private Network connection from the next panel.



5. Name the connection.

6. Now enter the IP or FQDN of the PPTP Server. (This can be any of the configured interfaces.)



7. If you are the system admin you will be asked if you want this to be for your use only or for anyone’s use. I suggest you limit it to your use only unless you want the VPN network to be made available to all user accounts on the workstation.

8. Next you can either just finish or add a shortcut to the desktop. You are nearly done!

9. When you launch the client for the first time (hopefully from the icon you asked it to create from the wizard, if not then you will need to access the “Network Connections” window again and double click your new connection.) you will be asked for a username and password. Click connect when you are done with this and if all goes well you will connect to the PPTP Server.



Testing our PPTP Connection in Windows ™

1.  Start by opening a DOS window. (Command window)

2.  Run ipconfig and you should get something similar to the next figure:



As you hopefully will see you have the settings for your physical adapter (in my case I renamed it to ETH0)

You will also see the PPP Adapter with the name you gave the VPN Connection when performing the steps in the last section. It should have an IP address that is in the range you defined for the PPTP Server. It should also have the subnet of 255.255.255.255 and it will be using itself as the default gateway. Just live with it; it is how it works.

For the more advanced who wish to know if things are all working right, Figure 6, displays a full ipconfig on the virtual adapter.



    Now lets try doing something. If you followed the setup for this how-to you will have setup full access from the PPTP network to the LAN and WAN. If you setup selective rules you will have to test specifically what you setup. E.g. if you setup rules to only allow SMTP you will need to telnet to the host:25 that you designated in the firewall rule. Or write a new rule allowing ICMP to a host that will echo a reply back.

    We will be sending a ICMP (Ping) to the firewall’s internal interface to test the VPN connection.

    In my case the firewall is 192.168.1.1 (please use your internal address before writing to me to say pinging 192.168.1.1 didn’t work on your 10.x.x.x network. Hehe) If done right (assuming your firewall isn’t blocking internal ICMP packets) you are good for LAN access. (If you are blocking ICMP on the internal interface ping some other host on your home network.)



Now lets test beyond the firewall. Ping isn’t so good to use here as more and more people are blocking ICMP packets. So we will use tracert to check we are 1.) Routing via the PPTP tunnel and 2.) That we successful. Of course if you told the firewall to not allow WAN access then this step can be skipped.



As seen in the last figure, the first hop is the PPTP “Server Address” as this is the gateway/interface for the PPTP Network.

Now check things like HTTP, etc. If you have this much and followed the directions you should be able to do everything.