How to set up a VPN server on Windows 10, 8, 7 or Vista –

A Virtual Private Network (VPN) server provides secure access to your private network from anywhere in the world. A VPN network consists of a VPN server that exists between internal and external networks and authenticates external VPN client connections. When a VPN client initiates an incoming connection, the VPN server first authenticates the client and allows the client to access the internal network if the authentication is successful, otherwise it does not allow the incoming connection to be established.

Microsoft offers to install a Remote Access VPN server on all versions of Windows Servers, but if you have a PC with Windows 8, 7 or Vista computer(s), you can easily set up a VPN server using the following instructions.


How to set up a VPN server in Windows 10, 8, 7 or Vista.

To configure your PC to act as a VPN server, you need to create a new incoming network connection to access the VPN. For this:

Step 1. Open Network Connections.

To open network connections in Windows 10, 8, 7 or Vista OS:

1. Click on “Windowsimage_thumb5_thumb_thumb_thumb_thumb[1] + “RClick the ” button to download Running dialog box.

2 write “ncpa.cpl and press Enter.


Step 2. Create a new incoming network connection for VPN access.

After you open it Network connectionsCreate a new incoming network connection for VPN access.

1. Yes Network connections menu, press File > New incoming connection. *

  • Reminder: If you don’t see “File“menu, navigate”Folder options“In the control panel and “Appearance“: tab, select “Always show menus“.

Install a Windows 10, 8, 7 or Vista VPN server

Click on {“Keep going” to “User Account Control (UAC) warning message if requested}.


2. Choose the user(s) On the computer you want to access the VPN. *

*Note: You can create more user accounts to allow other users to access the VPN.


3. To check turn onvia the Internet” option and press “The next one“.


4. Yes Network protocols specify which protocols are available for the connected VPN client(s) or leave the defaults and then “Allow access” button for default setting.


Additional settings of network protocols

The default VPN server setup allows you to enable the following protocols for incoming VPN connections:

Internet Protocol Version 4 (TCP/IPv4). *

* By default, IP addresses for connected VPN clients are automatically assigned from a network DHCP server (eg your ADSL modem/router). If you do not have a DHCP server on your network, or if you want to determine which specific IP addresses (IP address ranges) are available to VPN client(s), then:

  • Internet Protocol Version 4 (TCP/IPv4)Click ” and “Characteristics


  • In Incoming IP Properties, specify the available IP addresses to be assigned to VPN clients when connecting. *

*Note: Available IP addresses must be in the same network range as your network.


File and printer sharing for Microsoft networks. *

* By default, this setting is enabled. This means that all users connected to the VPN can access your network files and printers. If you want to prevent this, uncheck the “delete.File and printer sharing for Microsoft networks” option. *

* Attention: I don’t recommend you to disable this option because if you disable “File and printer sharing” feature will not make any shared folders or printers available to all network users (even users on your local network).

QoS packet scheduler. *

* Leave this option enabled. (This scheduler is designed to manage IP traffic for various network services, including Real Time Communications traffic).

7. after clicking “Allow access” button, let the wizard complete the VPN installation, and “Shut down“.


Step 3: Forward the VPN port to the VPN server.

Once you’ve set up your incoming VPN connection, you need to go to your Internet Router and configure it to allow and forward VPN connections from your external IP to your VPN server’s IP address. For this:

1. Open your web browser and type yourself in the URL field The router’s IP address (for example, and press the buttonEnter“. *

*Note: Follow the instructions in this article to find your router’s IP address.


2. Enter the username and password of the router administrator and click “.OK“. *

*Note: This information is usually found on the device of the router (on the bottom) or in the manual of the router.

52 years

3. When configuring the router configuration, redirect port 1723 to the IP address of the computer that created the new incoming connection and acts as the VPN server. (See your Router’s manual for setting up port forwarding).

  • For example, if the computer to which you created an incoming (VPN) connection has an IP of, you should forward port 1723 to this IP.


– If you want maximum security, you can use another unused external port for VPN connections (Port range: 1-65535). To find an unused port, see this article: List of TCP and UDP port numbers

  • For example, if you specify a random (unused) port 34580 for incoming VPN connections, you will protect yourself from malware that scans known open network ports and then compromises your network.


You are done!

Additional instructions:

  • To remotely connect to your VPN server, you need to know the public IP address of the VPN server. To find the public IP address (from the VPN server computer), go to this link:
  • It is better to have a static public IP address so that you can always connect to your VPN server. You need to contact your internet service provider to get a static public IP address. If you don’t want to pay for a static IP address, you can install a free Dynamic DNS service (e.g. no thread.) on your router (VPN Server) side.
  • To set up a new VPN connection on your client computer, see the following instructions: How to configure a VPN client.

If you found this article useful, please support us by donating. Even $1 can make a big difference for us We continue to help others while keeping this site free:

Leave a Comment