1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Networks How to setup a VPN Server & Client - WinXP [NOT 56k Friendly]

Discussion in 'Hardware' started by N4N01D, 28 Jul 2004.

  1. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    How to setup a VPN Server

    Ok, so you want to setup a VPN Server, 1st you have to think what OS, Internet Connection (and method, i.e. router or modem on a pc) and a few other things.
    First off this tutorial is for Windows XP only.

    The Steps

    1)On the computer which you want to be the Server (the one people will dial into) go to the Control Panel as shown below.

    [​IMG]

    2)Go to the Network Connection in the Control Panel, as shown below.

    [​IMG]

    3)Now on the left hand side in the Common Task Box, there is a section “Network Tasks”. Click on this option.

    [​IMG]

    4)This will start the wizard to make the VPN connection (server side) Click Next. As shown below.

    [​IMG]

    5)On the next Page Select the “Set up an advanced connection” and click Next.

    [​IMG]

    6)On this page Select “Accept incoming connections” and click Next.

    [​IMG]

    7)On this page click Next. Don’t worry if it says “Direct Parallel” this wont be used.

    [​IMG]

    8)Select the option “Allow virtual private connections” and click Next once again.

    [​IMG]

    9)Now you are going to need to create an account which will be used for connecting to the server. This is done by clicking the Add button and following step 10.

    [​IMG]

    11)This is the setup for adding the user that will be used to access the VPN.

    [​IMG]

    12)This screen will give the options for the Allocation of IP addresses from the people that are connecting. To do this click on the “Internet Protocol” and click “Properties”.

    [​IMG]

    13)On my network I know that IP addresses over 200 are free, so I have selected the range 192.168.1.201-192.168.1.220. If you are running a DHCP server you can let it specify the addresses. If in doubt specify manually as it can be changed later and click OK and click Next on the Window shown :).

    [​IMG]

    14)Now click Finish to Finish the Wizard.

    [​IMG]

    15)If you go back to the “Network Connections” page you can see that there is an icon for “Accept Incoming Connections”.

    [​IMG]

    And that’s the Server Connection all done :)

    Firewall and Router Notes.

    The previous bit was the easy bit. First if you are using a Modem and are going to be connecting directly to the computer the modem is on Skip forward a bit. If you are using a Router however this is a different matter, you can do 2 things.

    1)Forward the specific ports to the desired Server (Look at the Firewall Section for ports etc.).
    2)Set the DMZ(Demilitarized Zone) to the Desired Server. (This means that every connection will be forwarded directly to that PC, which brings me onto the firewall)

    Firewall

    I use Sygate firewall and here is a tutorial for allowing the correct ports to be allowed and not blocked by the firewall. I’m sure this tutorial could be modified to the certain firewall you are using, if any.

    1)Start Sygate and go to the “Advance Rules and Configuration”.
    2)Click Add
    3)In the General Tab Name the Rule and select “Allow this traffic”
    4)Select the Applications Tab
    5)Check NTOSKRNL.EXE and TCP/IP Services Application
    6)Click OK

    7)Click Add
    8)In the General Tab Name the Rule and select “Allow this traffic”
    9)Select the Ports & Protocols Tab
    10)Select TCP in the drop down box
    11)Leave the remote box bland, and fill the local box with “135,500,1701,1723” Opening these ports can be dangerous, only open them if you can't get a connection made!
    12)Click OK

    13)Click Add
    14)In the General Tab Name the Rule and select “Allow this traffic”
    15)Select the Ports & Protocols Tab
    16)Select UDP in the drop down box
    17)Leave the remote box bland, and fill the local box with “135,500,1701,1723”
    18)Click OK

    19)Click Add
    20)In the General Tab Name the Rule and select “Allow this traffic”
    21)Select the Host Tab
    22)Select IP Address and type in your VPN Server address.
    23)Click OK
     
    Last edited: 25 Feb 2006
  2. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    How to setup a VPN Client

    1)Go to the control panel as shown below.

    [​IMG]

    2) Double click on “Network Connections” as shown below.

    [​IMG]

    3) Now on the left hand side in the Common Task Box, there is a section “Network Tasks”. Click on this option.

    [​IMG]

    4) This will start the wizard to make the VPN connection (server side) Click Next. As shown below.

    [​IMG]

    5) Select “Connect to the network at my workplace” and click Next

    [​IMG]

    6)Select “Virtual Private Network Connection” and click Next.

    [​IMG]

    7) Type in a company name for the connection and cluck next.

    [​IMG]

    8)If you need to dial a connection to get internet access please select Automatically dial this initial connection OR just leave it on “Do not dial the initial connection.” And click Next.

    [​IMG]

    9)Now enter the IP address or Hostname of the VPN Server and click Next.

    [​IMG]

    10) Now click Finish.

    [​IMG]

    11) The Connect box will appear where you can enter the details for the username and password which were set for the VPN server. From there click Properties.

    [​IMG]

    12) Click the networking Tab and select the properties of the Internet Protocol TCP/IP.

    [​IMG]

    13) Click Advanced.

    [​IMG]

    14) Untick “Use Default gateway on remote network.” And click OK all the way back to the dialup box. – IF YOU DON’T DO THIS IT MAY CRASH YOUR NETWORK CONNECTION.

    [​IMG]

    15) Now you can dial the connection. Once this has connected you should be linked to the other network, you may not be able to type \\server for example however if you go to Start – Search and select “Computers or People” then “a computer on the network” and type the server name in there you should be able to find it ok.
     
  3. jezmck

    jezmck Well-Known Member

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    nice clear guide. (should be a sticky imo)

    will it let me and a friend play lan games though?

    we were trying OpenVPN to set up a connection (which works) but were then unable to connect in-game.

    any suggestions much appreciated. :)
     
  4. mushky

    mushky gimme snails

    Joined:
    24 Mar 2003
    Posts:
    5,755
    Likes Received:
    3
    Sweet as. Nice one mate, really useful info there.
     
  5. kitt

    kitt Michael Knight

    Joined:
    8 Aug 2004
    Posts:
    282
    Likes Received:
    2
    brilliant guide mate
     
  6. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    you know that you will only get speeds the same as your upload (256kbit in most broadband cases), it should work as basically you are becomming part of the network, do you have any firewalls running or anything, if so you could try turning them off?

    Thanks for the feedback, keep it comming ;)
     
  7. hk

    hk Powered By Duracell

    Joined:
    4 Jul 2002
    Posts:
    1,667
    Likes Received:
    0
    Yep sticky it :)
     
  8. Carbon

    Carbon Banned

    Joined:
    8 Jan 2003
    Posts:
    1,912
    Likes Received:
    2

    Agreed sticky!
     
  9. Sc0rian

    Sc0rian Here comes the farmer

    Joined:
    23 Feb 2003
    Posts:
    3,542
    Likes Received:
    2
    Yep agree..

    Vpn isnt easy for an average person. Sticky would be use I GUESS :p
     
  10. mushky

    mushky gimme snails

    Joined:
    24 Mar 2003
    Posts:
    5,755
    Likes Received:
    3
    great post man, thanks :thumb:
     
  11. Brew

    Brew New Member

    Joined:
    8 Apr 2004
    Posts:
    182
    Likes Received:
    0
    Very nice guide :rock: Cant really be any clearer than that.

    I thought I would point out that the process in Windows 2000 Pro is nearly identical, and just as 1337 :hip: Good for those of us who want to get our pr0...files from a computer at home :D
     
  12. midou11

    midou11 New Member

    Joined:
    29 Nov 2004
    Posts:
    27
    Likes Received:
    0
    wow that is gonna be very helpfull for people.
     
  13. Nath

    Nath Your appeal has already been filed.

    Joined:
    28 Dec 2003
    Posts:
    2,409
    Likes Received:
    1
    Great guide, will be using this when I get back home. :thumb:
     
  14. Drivel

    Drivel New Member

    Joined:
    30 Oct 2004
    Posts:
    80
    Likes Received:
    0
    im a lil hazy about this do u need any other hardware ?? cuz i know how to do it with a VPN roghter but not with out does iot stiill work??
     
  15. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    nope no hardware required (not including a modem for getting the internet connection) - just 2 x Win XP or 2000 systems, ports will need to be forwarded / unblocked tho if your using a router / firewall

    HTH
     
  16. Sunny-D

    Sunny-D New Member

    Joined:
    11 Apr 2004
    Posts:
    200
    Likes Received:
    0
    wouldnt the server need 2 nic's? one for the modem, one for the router?
     
  17. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    you could use 1 or 2 nics, when i did it for a server i put 2 nics in and dedicated 1 card to VPN and then the other card to internal network access. Then i used sygate firewall and setup rules for each card, but its not essential to have 2 cards, it really depends on your topology tbh
     
  18. Phrozenpenguin

    Phrozenpenguin New Member

    Joined:
    11 Dec 2001
    Posts:
    1,127
    Likes Received:
    2
    Thanks for the tutorial, much appreciated :)

    Just a couple of notes i have found:

    You can test this on a LAN to check you have authentication correct by changing the IP to the local address of the server.

    You have to be careful on the outgoing interent connection as well; some routers don't let PPTP connections through :/
     
  19. phonon45

    phonon45 New Member

    Joined:
    28 Sep 2003
    Posts:
    32
    Likes Received:
    0
    First off, thanks for posting this. The setup was quick and painless.

    Could you explain why you are forwarding all of those ports? If this is a PPTP connection, then it will work to only forward port 1723. I have set up a VPN server in Server 2003 and it works fine with only port 1723 forwarded through the firewall. What am I missing about XP?
     
  20. N4N01D

    N4N01D New Member

    Joined:
    29 Apr 2004
    Posts:
    467
    Likes Received:
    0
    I was having a few problems with getting sygate to work with this... so i raised a help requests as i have a legal copy and they replied with the above ports that needed to be forwarded, and right enough when i did this it worked. Having 135 could cause some security issues, but if you can run it with 135 closed then go for it, im just saying i needed 135 open for it to work :)

    HTH
     
    Last edited: 25 Feb 2006
Tags:

Share This Page