Monday, February 8, 2010

Setting up Windows 7 VPN Server

A few notes on setting up a VPN server in Windows 7 i have found while doing so on my home computer.

Setup the VPN server by following this guide

Test the VPN server from a computer outside the network (ie dont try and connect from a local computer – some consumer routers wont let this happen and can confuse the issue)

Note that TCP port 1723 must be forwarded as well as IP port 47 (GRE) traffic, details of which are explained here

If the VPN connection is not working, then there are some tools from Microsoft to debug the issue.  Download the tools from here, start pptpsrv.exe on the VPN server and then run the pptpclnt.exe tool on the client.  This will allow you to determine if the traffic is getting through as required.

NOTE: You need to stop the Routing and Remote Access () service so that the server exe can bind to port 1723, otherwise this will not work!

It can also be useful to put your PC in the DMZ in your router temporarily to eliminate blocked traffic as a potential issue.

Hopefully at this point you have a working secured VPN.

6 comments:

Anonymous said...

Hi,

I strongly appreciate your post........... High quality Hyper-V Servers with 100% dedicated resources.............

Thanks,
Web Hosting

Ridhi Sharma said...

Do I need a computer as server to create a VPN, or does the VPN router device do the job alone?
Thank-you
Silver MLM

Ildar said...

Your link http://theillustratednetwork.mvps.org/Vista/PPTP/PPTPVPN.html doesn't work.

Unknown said...
This comment has been removed by the author.
Unknown said...


Oh my goodness! Awesome article dude! Many thanks, However I am encountering troubles with your RSS. I don't understand
the reason why I cannot join it. Is there anyone else getting the same RSS issues? Anybody who knows the solution will you
kindly respond? Thanx!! my website;


Option Tips Intraday Tips Equity Tips

Robert said...

Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post.
customer testimonials