A free selfhosted VPN

I am looking for a free alternative to OpenVPN, which is an excellent selfhosted VPN that can be selfhosted on my VPS. But the free version only allows 2 concurrent connections. The pricing of the paid plan for OpenVPN particularly for unlimited connections is very expensive.

Is there a free, open source software that I can use to selfhost a VPN with unlimited connections?

I need a selfhosted VPN that can allow all my devices (about 8-9) to connect to the access server.

PiVPN - works on most distributions, supports Wireguard and OpenVPN, simplifies setup and has a script to manage it, and even generate wireguard QRcodes

  • wg-easy
  • firezone

You can try out my script at: GitHub - dashroshan/openvpn-wireguard-admin: 🔐 Install OpenVPN or WireGuard with a web admin panel using just a single line of command

Run one command in a linux vm (ubuntu 18+ recommended) and you can have an openvpn or wireguard server running with a web admin panel.

OpenVPN is I limited as well, as long as You don’t use the access server web GUI thing.

But I would go for wireguard nowerdays.

I suggest you wireguard. You can use the following script, it’s easy, faster than openvpn and secure : https://github.com/angristan/wireguard-install

FYI Openvpn is free for unlimited use too because it’s free and opensource just like wireguard.

Tailscale is free for up to 100 connections and 3 users. And it uses wireguard instead of openvpn.

You’re paying for managed OpenVPN? I use the non-commercial version and there’s no cost.

i like https://www.firezone.dev/

Zerotier, simple.

You can create your own controller and have as many clients as you want.

Tailscale. I use it with my NAS.

This question was literally asked less than two days ago. You can just search online or in this subreddit…

Openvpn itself doesnt limit connections. Dont use the commercial access server.

Install openvpn package, configure, generate hundreds of client certs (or use less, shared certs), enjoy.

Especially for phones it is so much better as it can transition between networks almost instantly (eg when you switch between Wifi and mobile).

If you need help to get it setup you should consider using a script like this one. Even a novice should be able to setup Wireguard with this in less than half an hour. There are also scripts that set up a web GUI as well.

Even better, use wg-easy. It’s just too easy to set up

Yes - so convenient - easy to install and configure

I love your short and powerfull awnser ngl

This. Beware that you will take a performance hit; OpenVPN can be accelerated using AES-NI, but WG uses ChaCha20 and that cant be accellerated.

Also, all features that openvpn as has, can be built yourself using readily available components and a management socket into openvpn, unlocking all functionality. The only thing you dont have then, is the gui, but who needs that anyway :wink:

wg-easy is literally the easiest wireguard deployment i’ve ever used…