Tips for creating your own VPN

I am going overseas for a month, and I need to log in to a game everyday, but this game is inaccessible when connecting from outside of my country.

I have read that using a VPN is legal in-game, but I don’t really want to pay for a VPN for just 1 month (free VPNs wouldn’t be enough as my country is kind of unknown), so I thought of creating my own VPN to save on that $20-30, as well as add something interesting to my resume.

I know there was a similar post made a few years ago, but most comments are about anonymity etc, which I don’t need (I hope) as I just need to appear as if I am connecting from my home country.

I plan to use my home desktop/AWS as a VPN server, and connect to it via my laptop. I did a little research and I’m probably going to be using OpenVPN, but I know close to nothing about it at this point.

I would like to know how viable this is, and would appreciate any helpful tips/guides/warnings/libraries on the matter.

Thanks in advance!

EDIT: Went with Wireguard. Thanks everyone :smiley:

probably going to be using OpenVPN

Don’t. Use Wireguard. Setup Wireguard at your home and connect to it via your remote client.

Perhaps your router already has a VPN server option; check first.

If not:

  • Locate an Old PC

  • Download the X86 build of DietPi (You could also use CasaOS, build it yourself, or many other ways; DietPi is just super light and easy).

  • Selct to install PiVPN from its software list.

  • Setup Wireguard.

  • Open the wireguard port on your router.

  • Done.

tailscale/ wireguard / wg-easy / pivpn

Any of those will get the job done (and are all WireGuard based on the back end). I’d look them over and see which is the best fit to your environment.

AWS free plan is very restrictive of the amount of Data throughput.

I use chrome remote desktop to log into my home PC while away. I can even do it from my phone. Obviously not as secure as a VPN, but if you’re just trying to log into a game, Im sure it would be ok.

While setting up the system is a great idea as you will have access to your home network, depending on your internet connection a professional VPN is maybe the better option. I hate all these big players that try to lure you in 1-2 year contracts by getting cheaper and cheaper - of you use Mullvad they always coat the same which is 5€ a month, can recommend (and they do not reward recommendations :sweat_smile:)

For the home VPN get wireguard and a DynDNS of your choice. All the best :slight_smile:

OpenVPN

Wireguard. Wireguard is objectively better for almost every use case.

That said, have you considered Tailscale? You can install it on all of your devices and then have one (the machine you want to use as a VPN) advertise itself as an Exit Node. On other devices you can select it and then it works as a Wireguard VPN with some extra features, including devices discovering each other automatically and the WG tunnels being configured automatically. It takes like 5 minutes to set up and Just Works™.

Also, instead of AWS, try Oracle Cloud. They have a free option that allows much more network xfer than AWS. That said Oracle Customer Support is pretty horrific so take that as you will.

If you need to merely log in, it may be easier to remote in to your PC (TeamViewer, Parsec)

if you need to actually play the game and don’t want to experience the usual issues with remoting into things, you might be able to just setup a proxy server. Providers like Linode give free credit towards their services using a referral/promo code. (Insert my referral code if I had one lmfao) you can find these usually by just looking up exactly that- ‘linode promo/referral code’ If you can’t find any, I know Network Chuck has this ‘partnership’ with linode. Some searching on his videos will find you his code.

Best of luck!

Wireguard running as a Docker container is probably the easiest option.

If you just need a quick temporary solution, then just use SSH dynamic forwarding.

EDIT: I convinced myself you’re talking about a browser based game for some reason. If a native game then it would need to support SOCKS as a proxy.

I need to log in to a game everyday

Why can’t this be my problem?

I got bored once ans wrote this up. It was originally targeted at ham radio but it can be useful for anyone:

OpenVPN would work, but even SSH would probably meet your needs.
Using either on a home desktop is easy, but presumably you are behind a home router and need to port-forward to the selected vpn software from there.

Yup seconded. For basically zero configuration use Tailscale.

Thanks! I’ll look into it :smiley:

I know wireguard is higher performance, but I was under the impression open VPN was generally considered more secure.

Why do you recommend wireguard in this case? (Genuine ask)

Do you need two ethernet ports for this?

Must it be an old PC? I don’t really have one lying around haha

This. Tailscale or ZeroTier are easy to setup and you don’t have to deal with bullshit roadblocks ISP can put in your way.