VPN Server with Windows Server: Installation and Configuration

In this tutorial, I will explain how to set up a VPN server on Windows Server with the role of remote access and configure access with NPS.

When setting up a VPN server with Windows, 3 types of VPN service are installed:

  • PPTP
  • L2TP
  • SSTP

In this tutorial we will see how to use PPTP and SSTP. When configuring the VPN client on Windows it is configured automatically and will test the connections on different ports to find the type of VPN service.

In order to limit the right of connection to the VPN, the policy will be configured to allow users belonging to the Active Directory group GRP_SRV_VPN_ALLOW.

The IP addresses will be distributed by a DHCP server.

When configuring the VPN client on Windows, the type of VPN is configured automatically, when connecting it will test the different types to establish the connection. There are several methods to force a type:

  • Configuration on the VPN client.
  • Port configuration at the firewalls level.
  • Configuration on NPS in the policy.


Related Posts


Hyper-V: Create a virtual switch

Presentation A virtual switch in Hyper-V is a virtual switch that allows the connection of network adapters to be created using Hyper-V (virtual machine or host). Under Hyper-V, there are 3 types of v

Windows Server installation and configuration of the DHCP role

In this tutorial, we will see how to install and configure a DHCP server on Windows Server in an Active Directory environment. As a reminder, the DHCP service makes it possible to distribute IP addres

BranchCache – Installation and Configuration

In this tutorial, we will set up a cache system on file servers to speed up access for remote sites. For that we will set up the BranchCache solution. BranchCache is an extended WAN bandwidth optimiza