Latest tutorial: Making a Movieclip face another Movieclip or point on the stage | Ask Tutorial5!
 

Get tutorials on EMail




Setting up a VPN server in your network

(17 votes)
Written by Michael D.   
In this tutorial, I will explain how to start a server that accepts connections to your Local Area Network.

Virtual Private Networking reffers to a set of applications and protocols that allow you to connect client in a local network through another one. If both stations (client and server) are connected to the Internet, you can access your local resources (network shares) from practically anywhere on the Internet. For security reasons you will need to authenticate first to a VPN server.

To create a Virtual Private Network server that accepts connections in a Microsoft Windows environment, open the Netowrk Connections link in the Control Panel at first.

Here you can see all your current network connections. Click "Create a new connection" in the Network Tasks menu, like shown bellow.

vpnserver_01.jpg

Click next, then select the last option, "Set up an advanced connection".


vpnserver_02.jpg


Click next and select "Accept incomming connections". At the following screen, select "Allow virtual private connections" and click next.

As you can see, you must choose the system usernames that can login to the VPN server.

vpnserver_03.jpg

It is a good idea to choose only one username, and set it with a strong password (at least 8 characters, including two numbers or symbols).

Now you have to choose the protocols you want the connection to handle. For conectivity, put TCP/IP. If you want to access your Local Area Network shares, select Client for Microsoft Networks and File and Printer Sharing for Microsoft Networks too.

vpnserver_04.jpg

Now select Internet Protocol (TCP/IP) and click Properties. You need to configure here the IP range that will be used to allocate addresses to your connecting clients. By doing this, you can also specify a total limit of clients that can connect the same time.

vpnserver_05.jpg

Pick a range manually, but make sure that the addresses are in the same network as your server is, or the VPN connection will fail.
Check the box next to "Allow callers to access my local area network" and then click Ok.

Click Finish and you are ready to go.

You should see now your new connection:

vpnserver_06.jpg

If you use any firewall on your Internet connection (and you are advised to), you must open some ports for the connectivity to be possible. These ports apply also if you are using a NAT/PAT router (configure port forwarding to your inside server).
These ports are: 1723 (VPN listen), 500, 51 and 50.

Now if you are ready to go, test your connectivity from another computer on the Internet.

Also see http://www.tutorial5.com/content/view/135/79/ to learn how to connect to your VPN server.



Subscribe now via RSS feed and get all the new tutorials

written by Ahmed Kadhdha , October 15, 2007

Hi
any one can help me to configure my windows 2003 domain controller as a VPN server. Please explain in step by step guide.

Note: Server has 2 NIC and one is for internet & other is for LAN
written by Mihai Dobos , October 15, 2007

Hello


To configure a VPN server on Windows 2003 you need to do the following:


1. Go to Administrative Tools and open Routing and Remote Access

2. Right-click on the servername and click Configure and Enable Routing and Remote Access

3. In the setup wizard that opens, choose Custom Configuration

4. Check VPN Access in the Custom configuration, then Next

5. On the summary press finish and you're done.



Mihai D.
written by md , September 03, 2008

please help me to configure Rras on win 2003 my static io is 122.160.76.78
written by ces , September 29, 2008

how mamy connection winxp could have.
written by ces , September 29, 2008

winxp vpn server. HOW MANY clients could connect to the winxp vpn server
written by david JM , December 19, 2008

Hi, I have made VPN Server running. From LAN, i can connect to VPN Server. But from internet, I can't connect. It raise error 800. Can someone help me ? Thx in advanced.
written by Gaju Erick , February 18, 2009

I'm student in computer science and I want to write my proposal on vpn server,how can you help me to find softwares needed to instal vpn server?
Thanks,
written by rehan512 , March 05, 2009

do we need to have a Live IP address for windows 2003 server with RRAS?
written by veeranji reddy , March 06, 2009

if i dont have live ips, configuration is followed as above steps, tecnically how can remote client connect to the vpn server through username & pasword itself.Should should not have a live ip (public)to be authenticated from client.Xplain me how wud b authentication to vpn of local ip from remote local ip thought out the configuration As u mentioned above
written by Nelszy , June 05, 2009

I have successfully made a VPN but when I tried to connect a client to my computer which is the network server for VPN the connection to the internet was lost...how can I resolve this error...for additional details, I've been using router...
written by Priyadarshan Shete , August 31, 2009

Does the VPN server machaine need to have a public IP address for a external VPN client to connect to it.
written by Chanel , January 08, 2010

I work at a hotel that has wireless. A guest is having issues w/ his business laptop accessing the internet (personal laptop connects to internet just fine). He mentioned VPN access is this something that I need to walk him through on his laptop of do we need to do it first to allow him to be able to use it?
written by rickjames8 , January 28, 2010

you write this nice little write-up, and then finish by saying "Now if you are ready to go, test your connectivity from another computer on the Internet." this is the part that NO ONE explains how to do. i can find 20 tutorials on the internet on how to set up a VPN, but no one actually tells me how to find the VPN once i have it set up. i have 2 offices i have been trying to network for 4 months and i am at the point of crying. why is this so hard?
written by DUTA , March 12, 2010

I HAVE SET UP MY VPN SERVER WITH WINDOWS 2003, VIA ROUTING AND REMOTE ACCESS. WHEN I CONNECT SUCCESSFULLY THROUGH MY CLIENT (WINXP), I COULD NOT ACCESS ANY RESOUCES VIA MY NETWORK PLACES. PLEASE HLP ME OUT.

Do you need more help? Ask now!
 

busy
Last Updated ( Friday, 25 January 2008 )