Saturday, August 25, 2012

How to Install VPN on Windows Server 2012




Windows Server 2012 RC Logo
This post should show you how to install a VPN Server on Windows Server 2012. This post covers a VPN server for a small environment or for a hosted server scenario. This post is note made for enterprise deployments. If you want to run a VPN solution in your enterprise you should definitely look at Direct Access which is much easier to deploy in Windows Server 2012 than in Windows Server 2008 R2.
For a VPN server on Windows Server 2008 R2 check this post: How to Install VPN on Windows Server 2008 R2
  1. Install the role “Remote Access” via Server Manager or PowerShell
  2. Select the DirectAccess and VPN (RAS) role services
  3. The other selection in the wizard can use the default properties.
  4. After the features are installed you can us the Getting Started Wizard to configure the VPN scenario.

  5. If you don’t deploy DirectAccess choose Deploy VPN only.
  6. This will open the Routing and Remote Access MMC. Right click on your server and choose Configure and Enable Routing and Remote Access.
  7. This launches the Routing and Remote Access Server Setup Wizard
  8. If you have just a single network interface in your server choose Custom configuration
  9. Select VPN access
  10. And click finish and start service
  11. Now open the following ports on your firewall and forward them to your Windows Server
    For PPTP: 1723 TCP and Protocol 47 GRE (also known as PPTP Pass-through
    For L2TP over IPSEC: 1701 TCP and 500 UDP
    For SSTP: 443 TCP
  12. Users have to be enabled for Remote Access. On a standalone server this can be done in the Computer Management MMC, in a domain environment this can be done in the user properties of an Active Directory user.
Optional: If you don’t have a DHCP Server in your local network you have to add a static address pool. This can could be if you use a single server hosted by a hosting provider.
  1. Right click on your Remote Access Server and open properties
  2. Click on the IPv4 tab and select “Static address pool”
  3. Now add a IP address pool for example 192.168.1.100 – 192.168.1.200
  4. Now if this is a standalone server which has only a single Public IP address, add a secondary IP address to the server network interface which is in the same subnet as the IP address pool.

5 comments:

  1. thanks for this setup info. There's another private network solution that I'm posting here as well; http://www.hushtunnel.com

    ReplyDelete
  2. Samuel! I hushtunnel is fine but i use "Hotspot Shield" free VPN which is the best for all windows versions and it works fine on my system. You have just need to install .exe file on your system and rest of the further settings get automatically configured. For your reference you can check it here - http://www.vpnforwindows.com/

    ReplyDelete
  3. Greetings! This is my first comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading through your articles. Can you suggest any other blogs/websites/forums that deal with the same topics? Thanks a ton! My blog post -
    vpn service
    dedicated vpn

    ReplyDelete
  4. Good day! I know this is kinda off topic but I'd figured I'd ask. Would you be interested in exchanging links or maybe
    guest authoring a blog post or vice-versa? My site covers a lot of the same subjects as yours and I feel we could greatly
    benefit from each other. If you're interested feel free to shoot me an e-mail. I look forward to hearing from you!
    Fantastic blog by the way! my weblog:


    SEO Service Provider
    all in one seo packages

    ReplyDelete
  5. I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you?
    Plz respond as I'm looking to create my own blog and would like to find out where u got this from. appreciate it Also







    Option Tips
    Intraday Tips
    Equity Tips

    ReplyDelete