How to Set Up a VPN Server? – Why Use Your Own VPN?

Whether you want a VPN for gaming, office work, or casual use. It is important that you know how to set up a VPN server for miscellaneous applications. It is pocket-friendly, there are no third parties involved, and plus, it is not that hard to create a VPN server for yourself on your home network and guarantee your own safety yourself.

What can a VPN do and how does it work? VPN is a service that makes sure that a user while accessing the internet doesn’t get vulnerable to data theft, malware attacks, or unreliability factors. It makes sure that your traffic is safe, traveling it through a safe and secure encrypted tunnel. When your VPN is on, there is no possibility to monitor, detect, or eavesdrop on your online activity while you are surfing the web.

You might think if there are tons of VPN providers then why are we even bothering giving you the lecture to set up your own VPN server. Third-party services can often be a bad choice to go for. VPN providers (Paid and Free) are not reliable. They can keep track of user logs and sell that data to concerned parties unless it’s a reputed VPN provider (like ExpressVPN).

Short on Time? Here’s a Short Summary of How to Set Up a VPN Server.

There are various ways you can set up a VPN server. You can avail the benefits of Cloud Services. If you want to create a VPN on your own network, then you need a router that must have VPN capabilities. A router with DD-WRT functionality to set up your own VPN will work too. Other than all these methods, you can have your dedicated server set up through your Windows 10 PC.

How to Set Up a VPN Server?

You can easily set up a VPN server in various ways. You can go for Cloud and use Amazon’s Web Services. To set up your own VPN server, you can use a router with VPN capabilities to create your own VPN or if your router doesn’t have VPN capabilities, then check if your router has DD-WRT functionality. You can easily set up a VPN server on a router with DD-WRT.

Apart from all these techniques, you can set up a VPN on Windows 10 too. Make sure you follow this guide, you can choose any way you want to set up a VPN server according to your resources and compatibility. You can set up a VPN on your personal mobile too if you want to go for a different device approach.

How to Set Up a VPN Server using a Router with VPN Capabilities?

To make sure that you make your VPN server on your router, it is to oversee first that you should have a router with VPN functionality already available in it. Without the VPN functionality, you won’t be able to set up a VPN server. Other than that, the steps below might not be compatible to work with all the routers. As router firmware can be different and it solely depends on that.

How to Set Up a VPN Server on Router having VPN Feature

  1. First, you should know if your router has VPN functionality or any other third-party firmware compatibility. You can get this knowledge by simply searching for your router’s manual and see if there are any guidelines available.
  2. If you can’t find the manual but still want to check if your router has VPN functionality, visit your router’s, Configuration Page. Type ( or ( on web page.
  3. Enter the username and password for administrator access to the Configuration Page.
  4. Find the VPN tab and carry on setting up your own VPN server by following guidelines.
  5. Now come with a username and password. Select a VPN Protocol as the last step to set up a VPN server on your router.
  6. To connect to the VPN server, you’ll need to install the software on the device you want to use the VPN server. (If selected OpenVPN protocol, install software for it).
  7. Enter the credentials which you have set on the configuration page and that’s all!

How to Set Up a VPN Server using a DD-WRT Router?

It is mandatory that your DD-WRT router should be having PPTP VPN functionality available in it. In case of non-availability, you’ll have to flash the router with a version that has the PPTP VPN functionality available. To set up a VPN server, follow the steps below.

  • Open the Configuration Page of your DD-WRT Router.
  • Find the section of Services, you will find PPTP Server, enable it if it is disabled.

How to Set Up a VPN Server on a DD-WRT Router.

  • On enabling the PPTP Server option, you will notice that more fields are visible now. Which are, Server IP, Client IP(s), and CHAP-Secrets.
    • Server IP: You will fill this field with the Public IP Address.
    • Client IP(s): This field will contain the IP Addresses of the clients who can use the VPN when enabled.
    • CHAP-Secrets: To set up the username and password of your VPN server, this field is to be used. The username and password are typed in a single line with spaces and asterisks to distinguish them.
  • When everything is ready, tap save and apply changes.

How to Set Up VPN Connection On PC for the VPN Server?

  • Close the Configuration Page, head to your PC’s Control Panel. (This is on Windows 7 Platform)
  • Head to Network and Sharing Center. Then select Set up a new connection or network, choose Connect to a workplace, and then Create a new connection. Finally, tap on Use my Internet Connection (VPN).
  • You should now be seeing a window with the Internet Address and Destination name. Type your Internet Address (the same IP Address filled in the Server IP section in Configuration Page). In Destination Name, type any name which is easy to pick and remember later (Example: My VPN).

How to Set Up a VPN Connection for the Server Configuration

  • Click Next, type the username and password (same username and password filled in the CHAP-Secrets field of Configuration Page).

Username and Password

  • Click on connect. This how you set up a VPN server, your connection should be working now.

Connected to VPN

  • If you want to verify it, type ‘ipconfig‘ in your command prompt to check your status.

Check the VPN status by IPCONFIG

How to Set Up a VPN Server On Windows 10?

You can set up a VPN server on your Windows 10 machine and allow users to connect to it. All you have to do is follow the steps below.

  • First, you will need to set port forwarding to 1723 which is the Point-to-Point Tunneling Protocol (PPTP). This is done to allow VPN connections when connecting to your home network from a public network.
  • Head to Control Panel, go to Network and Sharing Center -> Change Adapter Settings.

How to Set Up a VPN Server on Windows 10

  • When redirected to Network Connection, click on File and click New Incoming Connection.

New Incoming Connections

  • You will find a list of users (if any), check the users you want to give access to your VPN server. Or you can add a user too by clicking on Add Someone. Click Next.

Who may connect

  • You will find a Checkbox of Through the Internet under How will people connect? Check that and click Next.

Through the Internet

  • There will be a section of Networking Software, check the box for Internet Protocol Version 4 (TCP/IPv4).
  • On the same window, click Properties. Check the box for Allow callers to access my local area network and select Specify IP Addresses. Give a range of IP Addresses of clients which are allowed to access. Click OK.

Internet Protocol Version 4

Incoming IP Properties

  • Click on Allow Access and Close the window.

How to Set Up the Firewall Configuration for VPN Server

You’ll need to allow VPN connections by configuring the firewall properly. Follow the steps below to properly configure the firewall on Windows 10.

Routing and Remote Access Properties

  • Open Control Panel, go to System and Security -> Windows Defender Firewall.
  • On the left panel, click on Allow an app or feature through Windows Defender Firewall.
  • Find Routing and Remote Access and check the boxes for Private and Public.
  • Click on OK. Now your VPN Server can remotely receive connections.

How to Set Up VPN Connection for your VPN Server

To configure the devices for your VPN server which will have the ability to remotely access your local network, you have to set up a VPN connection. Follow the steps below,

  • Open Control Panel -> Network and internet -> Network and Sharing Center -> Change adapter settings. Go to the Properties of VPN Connection.

VPN Connection Properties

  • You will see a window of VPN Connection Properties. In General, confirm if your domain or public IP address is correct.

VPN Connection Properties General Tab

  • On the same window, go to Security. Click the drop-down menu of Type of VPN and choose Point to Point Tunneling Protocol (PPTP).
  • Click the drop-down menu of Data Encryption and choose Maximum strength encryption. Press OK.

Type of VPN / Data Encryption

  • Go to Network on the same window, make sure Internet Protocol Version 4 is checked and Internet Protocol Version 6 is unchecked.

IPv4 IPv6

  • Head to the Properties of Internet Protocol Version 4 (TCP/IPv4) and go to Advanced.

set IPv4 Properties/General tab

  • Under IP Settings, uncheck Use default gateway on a remote network. Click OK and save all the settings.

Set Advanced TCP/IP Settings

  • Go to Settings -> Network and Internet -> VPN. You can now see your VPN Connection, connect to it.

Connect to VPN

Why Use a VPN?

VPN can be a useful source to hide your online activity from data hunters present on the web. It makes sure that your online identity is safe and secure every time you browse something. There can many benefits which indicate that you should definitely get a VPN for your online safety.

  • VPNs can protect your online transactions every time you shop online.
  • It can prevent you from falling into malware or trojan attacks.
  • When your VPN is enabled, your identity is anonymous on the pages you visit.
  • You can easily change your Netflix region, or Hulu region with a VPN and enjoy streaming geo-restricted content.
  • If you want to make sure that your IP Address is secure while torrenting, then change your location with a VPN to torrent your favorite movie with complete anonymity.

Frequently Asked Questions – FAQs


If you are using a VPN of a non-reputed provider then it is possible that they are keeping track of your online activity. VPNs can drop connection while you are browsing the internet and reveal your actual IP Address if there is no kill-switch available in VPN. That is why it is recommended to have a reputed VPN.

No, it is not. VPNs are legal in the US. But it depends upon different countries. Every country has its own rule about VPNs. But anything illegal carried out with a VPN is still illegal.

Yes, it is. But only if your VPN is not configured properly. Other than that, if your VPN has IP Leaks, DNS Leak, or WebRTC Leaks, it is possible to track even if your VPN is enabled.

You can use a free VPN but it is to be kept in mind that free VPNs usually earn their profit by selling user data to third-party companies. Moreover, free VPNs do not offer unlimited use of their services. They have restrictions on many things, which are only unlocked when paid for the service.


VPN in today’s world has become a necessity for carrying out online activities. You can have a VPN from a third-party provider but it has its consequences too, which is why it is important that you know how to set up a VPN server on your own using the limited resources you have in your hand. It can be a little more work to do than paying for a VPN service, but on the bright side, you now have something new in your skills library!