AvoidErrors
  • HOME
  • WINDOWS
  • APPLE
  • MS OFFICE
  • RASPBERRY PI
  • WORDPRESS
  • TECH TIPS
  • LINUX
  • VIRTUALIZATION
  • FORUM
No Result
View All Result
AvoidErrors
No Result
View All Result

Set up a VPN Server on Windows Server 2012

Miguel by Miguel
November 6, 2012 - Updated on March 7, 2022
in Windows
2
Share on FacebookShare on Reddit
Improve PC performance Migrate to a Solid State Drive (SSD)

Set up a VPN Server on Windows Server 2012. This video tutorial shows you how to install a VPN Server on Windows Server 2012.

This video covers a VPN server for a small Business environment or for a hosted server scenario. It also covers Setting up the firewall and Client computer for a successful connection to the server.

Set up a VPN Server on Windows Server 2012:

1. Open the Server Manager and select Add rolls and features.

2. In “Select installation type” window check Role based or feature based installation. Next.

3. Select the local server in the Select destination server window. Next.

4. Now Select Remote access Role, and click on Add features button. Next.

5. No more features so Im clicking Next in the “Select features” window.

6. Next in the Remote Access window.

7. Select Direct Access and VPN (RAS) under Role Services Window.Next.

8. Leave everything default in the Select role services Window. Next.

9. Click Install in the Confirm Installation selection Window. Then close once it finish the installation.

10. You will now see a Remote access on the left pain, Click on it.

11. Now click on More link, under SERVERS.

12. Click on the Open Getting Started Wizard to complete the VPN configuration.

13. Select Deploy VPN Only

14. This opens the MMC for Routing and Remote Access

15. Right click the server and select Configure and Enable Routing and Remote Access

16. This launches the Setup Wizard

17. Since their is only one network interface you will need to choose Custom Configuration. Next

18. Check VPN Access. Next

19. Finish the Wizard.

20. You will need to enable users to Dial-in On a standalone server (default) this can be done in the Computer Management MMC,
if you are in a domain environment you can do this in the User properties of Active Directory.

Define a Static Address ‘pool’

Since you don’t have a DHCP Server in our VPS Environment you have to add a static address pool.

1. Right click on the Remote Access server and select Properties

2. Select the IPv4 tab and select Static address pool

Firewall Settings

Now that your VPN installation is complete you will need to modify your Windows Firewall to allow the VPN traffic You will need to open the following ports.

  1. For PPTP: 1723 TCP and Protocol 47 GRE (also known as PPTP Pass-through
  2. For L2TP over IPSEC: 1701 TCP and 500 UDP
  3. For SSTP: 443 TCP

Windows Firewall

  1. Launch Windows Firewall
  2. Click Allow a program of feature through Windows Firewall
  3. Check Routing and Remote Desktop
  4. Click OK

 Configure the Client Computer

1. Click Start button –> Control Panel -> Network and Internet -> Network and Share Center –> Click “Set up a new connection or network” under the “Change your networking settings”.

2.Select ” Connect to a workplace” and click Next.

3. Use my internet connection (VPN) –> Type the IP address and destination name in the box –>

4. Check ‘Don’t connect now; just set it up so I can connect later’ and click Next

5. Now we need to Configure the VPN Connection so right click Properties.

6. Select the Security Tab. in the Data encription drop down Select “Optional encryption (Connect even with no encryption)” Also Check Allow these protocols and place a check on Microsoft CHAP version 2 Click OK.

7. Now Enter your VPN username and password to Connect to the VPN server.

Video Tutorial:

Previous Post

How to Setup and Access a VPN in Windows 8

Next Post

Dual-Boot Windows 8 and Ubuntu 12.10

Miguel

Miguel

I started this tech blog back in 2011 as a place to write down processes I took to fix my client systems and network. Now I write some tips and tricks to help others with the tech issues that one might encounter.

Related Posts

Disable Windows Defender SmartScreen – Windows 11
Windows

Fix Windows 11 Defender Not Working

by Rhousse
January 24, 2023
How to Fix 503 Service Unavailable Error in Windows 10 
Windows

Fix HTTP Error 503: The Service is Unavailable in Windows 11

by Rhousse
January 24, 2023

Comments 2

  1. Mohammed Friyal says:
    6 years ago

    Hi,
    Do we need any leased line from ISP to make this connection.
    Thanks

    • Miguel says:
      6 years ago

      Nope. not really.

Subscribe to get weekly tutorials direct to your inbox!

Disable Windows Defender SmartScreen – Windows 11
Windows

Fix Windows 11 Defender Not Working

by Rhousse
January 24, 2023
How to Fix 503 Service Unavailable Error in Windows 10 
Windows

Fix HTTP Error 503: The Service is Unavailable in Windows 11

by Rhousse
January 24, 2023
How to Modify Mouse Pointer in Windows 10
Windows

How to Fix Black Screen With Cursor in Windows 11

by Rhousse
January 24, 2023
Restore the Old Windows Desktop Icons – Windows 11
Windows

Fix and Enable Drag and Drop on Windows 11

by Rhousse
January 24, 2023




  • Disclaimer & Privacy Policy
  • FAQ
© 2022 Powered by Cloudways
No Result
View All Result
  • HOME
  • WINDOWS
  • APPLE
  • MS OFFICE
  • RASPBERRY PI
  • WORDPRESS
  • TECH TIPS
  • LINUX
  • VIRTUALIZATION
  • FORUM

© 2022 AvoidErrors Powered by Cloudways | Privacy

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.