Is 768MB of RAM enough for an OpenVPN server for a few clients

Hi,

I’m looking to deploy OpenVPN on some cheap VPS services for my own personal use. I was wondering if 768MB of RAM was enough to host an OpenVPN server for a handful of clients?

openvpn moves data around. it doesnt really store any.

768 is fine. (i suspect you could probably do it in 128 if you were careful)

Yes. You’re even able to run OpenVPN on OpenWRT routers with far less RAM.

I have a VPS running Debian with openvpn, pihole, dnscrypt dockers and firewall duty. It’s using 722MB RAM right now after 90 days uptime. You’ll be fine.

Edit: another machine is running openvpn in a docker container, it’s using 3.74MB while uploading at 50mbit.

In terms of sizing if you have about 1MB per concurrent client that will be more than enough. In your case OpenVPN will likely use less than 20MB.

It does buffer though. But if your buffer is 200Mb deep you probably already dropped connection.