jg mtz md
hi everyone.
im starting with ovpn. i already made a well functioning ovpn web using some machines in my workplace (server=opensuse).
im willing to scale it using a virtual private server in the cloud.
my questions:
are all VPS out there openVPN-compatible?
how can i dimensionate (im not english speaking native, sorry if this isnt the word) the VPS? how much RAM 8or other stuff) does opvn server requires?
any comment is welcome. thanks.
The Johan
No, not all VPS systems are compatible with OpenVPN. Most are, though, but there are a few exceptions where you will run into some issues where it cannot access/create virtual network interfaces. You will have to inquire with the VPS provider you're going to host to find out if they support OpenVPN. Try to avoid 'openvz' systems as I've had people come in and complain about those.
Amazon AWS is fine, ElasticHosts is fine, Azure cloud is fine - there are plenty of systems out there that are fine. But there are a few exceptions. If you can, arrange a trial before you commit.
Estimating how much your OpenVPN server will take in regards to resources is difficult because you need to know what kind of traffic you intend to push through. Some OpenVPN servers are configured to only give access to resources behind the Access Server, and normal internet traffic goes through the normal internet connection on the client side. Others are configured to route all traffic through the OpenVPN server. This makes a difference, obviously.
As a rough estimate, about 50Mhz per megabit of sustained traffic (simplex) is about what you can expect. Regarding memory - depends on whether you route/NAT all traffic from clients through it, and how many users are connected simultaneously. Rough estimate that I feel comfortable with; 512MB RAM for 10 users, 2GB for 100. You can likely find more information on this elsewhere, from user experiences, and how-to guides on the internet.
Good luck.