Your own Windows VPN to use anywhere
Consider this, you’re in a dystopian universe with a Windows server hosted on EvilCorp™ datacenters.
You cancel your $19.99 / month VPN subscription at the hopes of replacing it with your Window server.
Here are the steps:
- Open ‘Add Roles & Features’.
- Add ‘Remote Access’.
- Open ‘Routing and Remote Access’.
- Right-click on your server name and click ‘Configure and Enable Routing and Remote Access’.
- Choose Custom.
- Select ‘VPN’ and ‘NAT’.
- Navigate to IPv4 -> NAT.
- ‘New Interface’.
- Add ‘Internal’. (‘Private interact connected to private network’ will be checked)
- Add ‘Ethernet’ (or the name of the adapter with internet)
- Make sure ‘Public interface connecte to the Internet’ is checked.
- Make sure ‘Enable NAT on this interface’ is checked.
- On the server name, right click and click ‘Properties’.
- Make sure under ‘IPv4 Router’ you have ‘LAN and demand-dial routing’ is checked.
- In the IPv4 tab, select ‘Static address pool’.
- Assign some IP address. (I chose 192.168.40.10 -> 192.168.40.20)
- Save and close!
Now, on your client machine, you can create a new VPN and you will be able to successfully browse the internet using your dedicated Windows server’s IP address.