Thursday 9 September 2010

How to configure Windows VPN in less than 5 minutes!

There are many software and hardware solutions out there that allow VPN connections in to your home network. Some of these solutions are free and lightweight, however (perhaps foolishly), I have just never trusted them as they usually go via a third party service.

I have always wanted to have proper VPN access to my home network but have just never got around to it for one reason or another, however, I have a machine doing nothing here and I thought it was about time... and it is seriously so easy to do, I wish I had done it sooner!

With this guide, you should be able to get a full Windows VPN tunnel set up in less than 5 minutes!

For Windows Server 2003 Server go to 2b.
For Windows Server 2008, read below.

1. To start, In Windows 2008, you have to go to server manager and install the following roles:

[ ] Network Policy and Access Services [NPAS]
[ ] Network Policy Server [NPAS-Policy-Server]
[ ] Routing and Remote Access Services [NPAS-RRAS-Services]
[ ] Remote Access Service [NPAS-RRAS]

2 a). Next, Go to computer Management and expand Services and Applications.

2 b). (For Windows Server 2003) Go to "Administration tools" > "Routing and Remote Access"

2 c). Right click and choose "Configure and Enable Routing and Remote Access"

3. The predefined VPN templates require two network cards and if you only have one, it will come up with an error. I am unsure why as it is not actually required. To continue, choose the "Custom Configuration" option.

4. Select the "VPN access" option.
5. Confirm your selection and finish the wizard

6. By default, Routing and Remote Access will pass DHCP requests through, however, I have encountered mixed results through this option (I think due to gateway settings), and prefer selecting the "Static Address Pool" option which I also think is a lot faster at connecting.

You can configure this by right clicking on the computer (where you clicked above in stage 2c) but this time choose properties, and go to the IP tab.

Assign as many IPs as concurrent VPN connections you want - make sure they are working IPs within your current subnet. If they are covered by your current router (or DHCP server) and you are not able to setup exclusions, you can simply make DHCP reservations for fictional MAC addresses and that will keep them unregistered by DHCP clients.

7. Go to Computer Management > Users and groups and create a new user. Make sure that you allow remote access in the "Dial in" tab.

8. At your firewall/router, make sure that UDP port 500 (IPsec) and TCP port 1723 (PPTP) are forwarded to the server.

And that's it! Done!

If you are not sure how to create a VPN connection to the server in Windows, follow this guide (For Windows 7/2008):

Go to "Network and Sharing center" and choose "Setup a new connection or network" option.

Simply type the ip address of your server, and the username and password that you set up (leave domain blank) and you are done!

Under the quick connections menu on the taskbar, you will be able to easily connect to the VPN whenever you want (and when outgoing ports are not blocked!)

I did a quick speed test when out and about and was able to reach a download speed of my home upload speed! It works very well and is satisfying to see my own IP address on IP checking sites!

FYI - I love everything I have seen about DirectAccess - it is a far superior solution, but I simply do not have the infrastructure at home to support it. Hopefully in the future, I will be able to deploy it and write a similar guide (although I think it will be more than 5 minutes work!)

*Windows Server 2008 Web edition is not supported, It requires the Remote Access role to be installed.


  1. Thanks for this tutorial! I came here from you SuperUser profile (that went to a Twitter link and now I'm here), and as a coincidence I was looking exactly for something like this! Keep up the good work here and at the SuperUser (I've read some of your answers as well). Thanks!

  2. @Anonymous - Whoever you are, cool! Glad I could help you! Hope your VPN is working well!

  3. I also tried this like Anonymous did and it work out really great. Thank you very much.

  4. This comment has been removed by a blog administrator.

  5. Is there a way to change the DNS of VPN connection? I usually use Google's public DNS.

  6. Wow, this is so helpful, and thanks so much, William. Your step 6) above directly helped resolve the problem I'd been having for weeks:

    It instantly works for me if I selected "Static Address Pool" option as you suggested, DHCP options didn't work for me for unknown reason when I tried to VPN from the internet.

  7. I have a windows 2008 r2 server, motorola nvg510 router from ATT (ADSL 6Mbps up and 540Kbps down)
    - no firewall
    - AD, DC, DNS and DHCP configured
    - 2 NICs
    - Router has private IP addresses for intranet and 5 public IP addresses for internet

    Objective: Setup VPN services on this server

    1. Best setup for router to pass VPN services
    2. Best setup for server VPN services using one or two NICs


  8. I am wondering can you setup UPN to ping remote server using NetBios (computer name)? Would be there some additional configurations?
    If yes, is it possible to enlighten us.

  9. that is simple pptp vpn ,., but that did not access to internet ,..
    for internet access ,, make first (DHCP , SERVER) .(DNS SERVER) (WINS SERVER)
    that 3 server will make forwrding internet access...

    i have see alot of tuterials but not shoing next optstion.. how to configure DHCP . DNS OR WINS SERVER ...


  10. thank you for taking the time to do this tutorial. it helped me alot.

  11. Thanks, your tutorial is very helpful.

  12. Hi, that's for PPTP and IPSEC, how about L2TP? my firewall supports VPN passthrough? but it seems like Win2008R2 doesn't, any ideas?

  13. Hi, Thanks for this tuts.

    Last question, is it possible to setup VPn on server with just only one NIC?


  14. Am unable to connect from my client

  15. Thanks for post. very simple config.

  16. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.

    You obviously know what youre talking about, why throw away your intelligence on just posting videos to your blog when you
    could be giving us something enlightening to read?

    Also visit my homepage - seo tips

  17. Wonderful site. A lot of helpful information here. I'm sending it to some friends ans
    additionally sharing in delicious. And obviously, thank you in your sweat!

    Here is my blog :: electronic cigarettes health

  18. Nice post. I learn something totally new and challenging on sites I
    stumbleupon everyday. It's always exciting to read through content from other writers and practice a little something
    from other websites.

    Also visit my web blog ... hay day storage

  19. Thanks for sharing your info. I really appreciate
    your efforts and Iwill be waiting for your further post thank you once again.

    Loook into my blog post - mp3 sites unblocked

  20. Very good information. Lucky me I discovered your blog by chance (stumbleupon).
    I've book marked it for later!

    my page; best Weight Loss pills

  21. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox
    and now whenever a comment is added I get four emails with the
    exact same comment. Is there an easy method you can remove me from that service?

    Here is my webpage :: castle Clash cheats

  22. Creating an animated GIF in photoshop is relatively simple to do frame-by-frame.
    Finally, you are able to see you animated gif file with your image viewer.

    On the plus side, the graphics are nearly always free so you don’t need any artistic skills to
    utilize them.

    Check out my web site ... funny gifs []

  23. I'm really impressed with your writing skills as well as with the layout on your weblog.

    Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one these days.

    My weblog: Muscle chart

  24. I am sure this paragraph has touched all the internet users, its really really pleasant
    post on building up new website.

    Feel free to visit my web-site Losing 10 pounds in a month

  25. Great blog you have here.. It's hard to find
    high quality writing like yours nowadays. I truly appreciate individuals
    like you! Take care!!

    Also visit my weblog: vidconv download and save video from youtube

  26. What i do not realize is if truth be told
    how you're now not actually a lot more smartly-preferred than you
    might be righ now. You're very intelligent. You recognize thus significantly in relation to this matter, made me personally imagine it from so many
    numerous angles. Its like men and women aren't interested until it's something to accomllish with Woman gaga!
    Youur individual stuffs excellent. Always handle iit up!

    Feel free to visit my web blog: natural weight loss supplements dr oz

  27. Chose tthe Best loans Option? There's gotya
    be a huge sum of money small cash loans is near tthe household and twice the
    level of bad debt. Now days, there are some eligibility conditions.

    You can choose fom equal payment, sudden car damage expenses, car accidental bills, utility expenses, credit referehce agencies will have
    to worry about loans.

    Review my homepage ...

  28. I am very interest to know about vpn security because present very need to know about this.
    best vpn service

  29. This comment has been removed by the author.

  30. The loan specialist helps the customer with due dates that can be met easily. Perused all the data and make inquiries so there is a total comprehension about all parts of the advance. Keep in mind the bank is there to help the customer to secure an individual advance. Car Title Loans

  31. Quite exciting! Think about an opportunity to get a new qualification through the convenience in your home. That may be a thing actually remarkable. Currently click here along with follow-up each of our search phrase payday loans oceanside Cheers pertaining to wonderful data.

  32. thanks for the article, it's quite helpful. for those of you who have not read it please click the link below to read it

    Obat darah tinggi
    Obat Asam Urat Paling Ampuh
    Obat Benjolan Bernanah
    Obat Kebas & Kesemutan

  33. تعمیر یخچال ساید بای ساید
    معایب و مزایای یخچال ساید بای ساید

    تعمیر ساید بای ساید و تعمیر انواع یخچال ساید بای ساید - تهران سرویس
    تعمیر ساید بای ساید و تعمیر انواع یخچال ساید بای ساید - تهران سرویس
    بررسی قیمت یخچال ساید بای ساید :
    یخچال های ساید بای ساید براساس کارایی و استایل خاصی که دارند از قیمت های بیشتری نسبت به یخچال های تک برخور دارند.شما اگر نیاز خود را بسنجید می توانید از یخچال های تک هم استفاده کنید و هزینه کمتری برای یخچال منزل خود بپردازید.

    هزینه نگهداری از یخچال ساید بای ساید :
    نوعی از ساید بای ساید ها وجود دارند که تصفیه آب را انجام می دهند و فیلتر های آن باید هر ۴ تا ۶ ماه یکبار تعویض شوند و این یکی از هزینه های ثابت ساید بای ساید است.

    جابجایی یخچال ساید :
    ابعاد و اندازه یخچال ساید بزرگتر از یخچال تک است و اگر آشپزخانه کوچکی دارید استفاده از این نوع یخچال به شما توصیه نمی شود.

    جادار بودن و مصرف انرژی کمتر یخچال ساید :
    بزرگ و جادار هستند و مصرف انرژی این نوع یخچال ها A است.یخچال ساید به دلیل طراحی زیبایی که دارد هم حس داشتن یخچال شیک و هم فریزر را به شما می دهد.

    تعمیر یخچال در تهران

    تهران سرویس تعمیرات ساید بای ساید و تعمیرات انواع یخچال های ساید بای ساید را در تمامی مناطق تهران انجام می دهد.
    تعمیر یخچال ساید بای ساید الجی

    تعمیر یخچال ساید بای ساید سامسونگ

    تعمیر یخچال ساید بای ساید جنرال الکتریک

    تعمیر یخچال در محل

    سرویس کاران تهران سرویس یخچال ساید بای ساید شما را در محل منزل یا کار شما تعمیر می کند.تمامی مراحل تعمیر در منزل شما انجام انجام می شود.

  34. شركة تنظيف منازل بالمدينة المنورة النسر الذهبي

    عند بحثك عن شركة تنظيف بالمدينة المنورة بأفضل جودة وأقل اسعار ستجد ما تبحث عنه فى شركة النسر الذهبي حيث نقدم خدمات تنظيف مميزة للبيوت والشركات وتشمل خدماتنا:تنظيف الانتريهات والموكيت والسجاد والواجهات الزجاجية ومكافحة الحشرات.
    شركة تنظيف شقق بالمدينة المنورة
    نقدم خدمات تنظيف الشقق فى مؤسسة النسر الذهبي وتشمل تنظيف وغسيل الستائر والكنب والسجاد والمفروشات والمجالس وتنظيف الارضيات والمطابخ والاسقف والحمامات فنحن شركة تنظيف شقق بالمدينة المنورة رخيصة ومجربة بشاهدة عملائنا.

    شركة تنظيف مجالس بالمدينة المنورة
    شركة النسر الذهبي تقدم خدمات تنظيف مجالس بالمدينة المنورة للتخلص من بقع المجالس الصعبة مع مراعاة الحفاظ على سلامة المجالس.
    شركة غسيل شقق بالمدينة المنورة
    النسر الذهبي أرخص شركة غسيل وتنظيف شقق بالمدينة المنورة مع خدمات غسيل الحوائط وجلي وتلميع الرخام والسيراميك والباركية ،وتطهير وتعقيم ارضيات.
    شركة تنظيف كنب بالمدينة المنورة
    النسر الذهبي أفضل شركة تنظيف كنب بالمدينة المنورة حيث نقدم خدمة تنظيف الكنب من خلال فريق متميز ومتخصص في تنظيف الكنب وإزالة البقع والتخلص التام منها بدون أي آثار مثل بقع الدم، بقع الحبر، الدهانات والألوان، بقع الأطعمة والعصائر، بقع الصدأ.
    غسيل خزانات بالمدينة المنورة
    عزيزي العميل نقدم لك أفضل شركة غسيل و تنظيف خزانات سطحية وأرضية داخل المدينة المنورة وفي جميع الأماكن المحيطة بها، حيث نخلصك من الطحالب والبكتيريا والجراثيم والعفن، من خلال تنظيف جدران الخزان الداخلية والخارجية وتعقيمها،
    شركة تنظيف السجاد بالبخاربالمدينة المنورة
    يعد السجاد واجهة من واجهات المنزل والتي في حالة تعرضها للاتساخ تصبح مصدر للإزعاج، كريه الرائحة، لذا نعمل فى النسر الذهبي أرخص شركة تنظيف سجاد بالبخار بالمدينة المنورة على تقديم خدمة تنظيف السجاد دون الإضرار بنسيج السجاد.
    للمزيد من خدماتنا ندعوكم لزيارة موقعنا على
    شركة تنظيف منازل بالمدينة المنورة

    للتواصل عبر الجوال او الواتس 0540906041

  35. Make Your Virtual Private Network more Productive and Effective for Your Business needs by using Your Virtual Private Network to its full Potential and keep Your Identity, Private Information and Internet Activities Private! Learn what You can't afford to not KNOW! Reduce your downtime from System and Software Freeze Ups that cost You Thousands! Have what You need at Your Fingertips. best VPN for torrenting Guide, PC Help, How To and General FYI!

  36. منسق حدائق بالمدينة المنورة
    يمكنك أن تقوم بتوفير أفضل شكل للحديقة من خلال شركة تنسيق حدائق بالمدينة المنورة فيهتمون بتنسيق السور و لهذا تستطيع الإستعانة بالسور الخشبي الموجود في الحديقة حيث أنه يكون عبارة عن سياج منفصل و بينه فراغات يمكننا أن نضع بها بعض من النباتات كما توفر شركة تنسيق حدائق عديد من الأصص السلطانية الشكل فعلى الرغم من أنها قديمة الطراز إلا أنها تعمل على إعطاء مظهر جمالي رائع و خلاب و نستطيع أيضا أن نقوم بإضافة بعض من الحصى المضغوط فهذا سيعمل على إضفاء اللمسات الجمالية التي ترغب في الحصول عليها و تختلف أذواق الأشخاص لهذا فإن شركة تنسيق حدائق حريصة على الجمع بين كافة الأذواق و جعلها ذو مظهر أكثر من رائع .

  37. I've been speaking to people, and I don't know if it's because we're in the first quarter of a new year or if there's more confidence in economy, but I've realized that many more people are looking to start their own businesses. As a business owner and social entrepreneur, I think that's a great thing. I'm often asked about my thoughts about starting a new venture, and candidly, I love the adrenaline rush, vision driving and strategy development of a new business opportunity.

  38. Student loan consolidation can be used by student or parents to combine their multiple education loans into one loan with one convenient monthly payment and often with lower interest rate. Both federal and private consolidation loans are available, but federal loans usually provide better borrower benefits. buymodafinilonline

  39. Many business owners are working so hard at their business that they fail to enjoy the rewards of being the business owner. If you are letting the life of your business overrule the business of living your life, then it is time to begin turning the tides. Finding ways to make your business work harder for you and your family is the reason we all started our businesses in the first place. If your business is obstructing your efforts to enjoy life with friends and family, this is a problem. We all know a lot of work goes into building a successful business, but if it is consuming all your time, effort and energy... is it worth it? Here are 5 ways to have your business working harder for you and your family. 3d coat sculpting

  40. I’m so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that’s at the other blogs. Appreciate your sharing this best doc. putlockers

  41. Cửa lưới chống muỗi là một trong những thiết bị chống muỗi hiệu quả hiện nay được nhiều lựa chọn nhất là đối với người dân ở thủ đô nói chung và ở quận Thanh Xuân nói riêng. Tuy nhiên, Địa chỉ lắp đặt cửa lưới chống muỗi quận Thanh Xuân ở đâu uy tín vẫn là thông tin mà khá nhiều người đang băn khoăn. Nếu bạn cũng đang băn khoăn tới thông tin này. Hãy tham khảo thông tin ở bài viết dưới đây nhé.

    Địa chỉ lắp đặt cửa lưới chống muỗi quận Thanh Xuân

  42. I appreciate your thought provoking article, which seems to be outstanding with its great insights. I thank you for making me aware of such an important ideology. Eagerly waiting for your next article. Web Designing Course Training in Chennai | Web Designing Course Training in annanagar | Web Designing Course Training in omr | Web Designing Course Training in porur | Web Designing Course Training in tambaram | Web Designing Course Training in velachery

  43. Hey there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked

  44. Following directions of IGP Islamabad Muhammad Aamir Zulfiqar Khan for strict action against land mafia, SSP (Operations) said that no sluggish attitude would be tolerated against land mafia and other criminal elements. He Coach Outlet Clearance directed to listen complaints of citizens, fix timings and remain in contact with them on Cheap Ray Ban Glasses regular basis to inform them about development in their matters. He directed police officials to take effective steps to control crime and adopt a professional as well as responsible attitude to mitigate the sufferings of the people.

    That being said congrats to all the players who Coach Bags Clearance are joining this rare fraternity this weekend, enjoy it and strap on your seat belt for one hell of an experience. Happy draft Coach Bags Outlet weekend. Former NFL try hard. In our post on the best MK Outlet boost pedals, I talked about how boost and overdrive are mighty similar, as well. They can both affect serious magic in a tube amp, generating natural compression that feels great Michael Kors Outlet Store under the hands. Of course there are differences between them, and most New Jordan Shoes 2020 players New Yeezys 2020 would Nike Air Force 1 Cheap Outlet have (at least) one of each..


  46. This is such an awesome asset, to the point that you are giving and you give it away for nothing. our article has piqued a lot of positive interest. specialist for tongue-tie surgery

  47. I read your article it is very interesting and every concept is very clear, thank you so much for sharing. AWS Certification Course in Chennai

  48. I'm amazed, I hace to admit. Seldom do I encokunter a blog that's
    both educative and entertaining, and without a doubt, you have hit the nail onn
    the head. The issue iss something which
    not enough people are speaking intelligently about. I'm very happy I stumbled across
    this during my hunt for something regarding this.

  49. There Is Obviously a lot to know about this. I suppose you made Some Great points in the Feature also.

  50. Great post! I am actually getting ready to across this information, is very helpful my friend.
    Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.

  51. Thank you for providing eye opening article thank you for sharing its really informative article...

  52. This blog has given me quite assistance for my blog website. Thank you so much..
    What Is Anchor Text?

  53. I think the admin of this web site is working really hard for his website, because every content here is quality based information. Excellent article .... Turkey transit visa for US citizens, you can get Turkey visa online. There will be a need to fill out the visa application form Turkey through the Turkey visa online guide.

  54. Thank you for this guide! Can I make a video for youtube and tiktok about it? I will buy many likes for it from here

  55. Nicely described points here.. thank you for this work In urgency, the travelers want to apply for e visa, then he/she can apply for Azerbaijan urgent visa through this application you will get visa within few hours.

  56. Awesome Details in this Article, Very Useful.
    Know more About of Satta King

  57. Keep up the work, great job. And I am satisfied to read your article. Getting a visa for Turkey online is easy and fast. Within 5 to 10 minutes you can fill your visa application form turkey. You can pay the visa cost Turkey after filling the form.

  58. 온라인사이트29 December 2021 at 06:43

    The assignment submission period was over and I was nervous, 온라인사이트 and I am very happy to see your post just in time and it was a great help. Thank you ! Leave your blog address below. Please visit me anytime.

  59. Thank you for provide us very important information we are pleased to read this article.

  60. I finally found great post here. Thanks for the information. Please keep sharing more articles. 토토사이트

  61. This post is truly inspiring.
    I like your post and everything you share with us is current and very informative, I want to bookmark
    the page so I can return here from you that you have done a fantastic job..
    Cargo Service Dubai to Pakistan
    Glass Works Dubai

  62. It is a good site,Thank you.. Required documents for India E-Medical visa, you can check online required information for India E-Medical visa via Indian e visa website.

  63. It's very nice what you're sharing with your audience. I have read your article and I think it's very nice. You can apply for an e tourist visa India by clicking the link we just provided. Thanks for adding value to the post.

  64. Hello sir, You can read actual information about e visa India processing time and India visa fee in our Indian visas online website. If you wish to apply for a visa for India, visit our e visa India online website.

  65. Hii guys, You can get an online emergency visa to India. If you need India visa urgent , you can read all info about emergency visa to India via our India e-visa blog.

  66. Hi sir, many people ask, e visa India processing time, normal visa you can get 3 to 5 working days, in urgent cases 1 to 3 days.

  67. متتالية نسب الفيبوناتشي تم تقديمها للغرب في القرن الثالث عشر

  68. Explore this engaging blog post brimming with captivating viewpoints and profound revelations. The author's compelling narrative style effortlessly ensnares readers' attention, holding it firmly throughout. Smooth transitions between ideas ensure a seamless reading experience, while each paragraph offers a unique angle to ponder. Get ready to be captivated and enlightened by the mastery of storytelling on display.