What one needs to set up a VPN from scratch?

And before anyone asks no, I don’t need a VPN provider - I want to do it for practice and furthermore I mean complete scratch, saying that because before writing this I’ve read a few dozen posts and found very few coherent replies in regards to my problem.

I don’t care about privacy, I just need it to bypass some annoying region restrictions and maybe for gaming(least concerned about the latter).

So, where do I even start?

In my possession are the following: a PC running on Windows, certain amount of money I could spend to further this endeavour and an iPhone.

Oh yeah, I don’t have an ISP - I use a hotspot

A “VPN-setting-up-process” roadmap would work if you want, though an in-depth explanation is more welcome.

  1. Create a VPS in the county you want to route through (Debian or Ubuntu)
  2. install https://www.pivpn.io
  3. run client on you host machine and connect
  4. watch Netflix in the other country

Since your machine is a PC running Windows, I would look at Softether. For a Windows based server, I think it is one of the most complete VPN packages and supports multiple VPN protocols. See: https://www.softether.org/

If you really want to setup VPN from scratch, you may write your own VPN client and server. On windows, wintun is a good tool to capture data packet. You will also need a VPS to run VPN server, which usually running linux based system. On such system, It’s easier than on windows to make a VPN server( if you are familiar with coding on linux ). simple vpn demo(GitHub - davlxd/simple-vpn-demo: A Simple Point-to-Point tunnelling implementation in C) is a good example.

Fair enough, I guess.

Softether isn’t an easy setup. Setting up something like wireguard or Shadowsocks would be far easier.

Already set up openvpn on a vps, turned out to be stupid easy, but thanks for that demo.