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:
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.