Security14 min read•Updated November 2026

VPS Hosting for OpenVPN Servers

Quick answer

To run OpenVPN on a VPS, install OpenVPN (or OpenVPN Community with a management tool), create a private certificate authority with Easy-RSA, issue a server certificate and one client certificate per user or device, and configure the server on UDP port 1194 (or TCP 443 where networks block UDP). Enable IP forwarding and NAT for full-tunnel use or push only internal routes for split tunnelling, add a TLS authentication key, use modern ciphers, firewall everything else, and revoke certificates when people leave. A 2 vCore / 8 GB VPS serves dozens of users. Consider WireGuard if you want a simpler, faster setup and do not need OpenVPN's features.

OpenVPN has been the workhorse of self-hosted VPNs for two decades. It runs on almost every platform, works through restrictive networks over TCP 443, supports certificate-based authentication with revocation, and integrates with many enterprise tools. Hosting it on a VPS gives teams secure access to internal services, a fixed egress IP for allow-listing, and encrypted connections on untrusted Wi-Fi. This guide covers a secure, maintainable setup.

Common Uses

  • Remote access: staff reach internal servers, databases and admin panels through the VPN instead of exposing them publicly.
  • Fixed egress IP: all VPN traffic leaves from the VPS's IP, which partners and SaaS tools can allow-list.
  • Site connectivity: connect a branch office or another server to a private network.
  • Untrusted networks: protect traffic on public Wi-Fi.

OpenVPN or WireGuard?

AspectOpenVPNWireGuard
ConfigurationMore options, more complexitySmall, simple configuration
PerformanceGood; user-space by defaultTypically faster, in-kernel on Linux
TransportUDP or TCP (can run on 443)UDP only
AuthenticationCertificates, optional username/password, pluginsPublic keys per peer
RevocationCertificate revocation listsRemove the peer's key

Choose OpenVPN when you need TCP fallback through strict firewalls, certificate-based PKI, or compatibility with existing OpenVPN clients and tools. Our VPN VPS page covers WireGuard-based setups.

Certificates and PKI

  1. Create a certificate authority with Easy-RSA, ideally on a separate machine or kept offline.
  2. Issue a server certificate and key.
  3. Issue one client certificate per person or device, never shared.
  4. Generate a TLS authentication or TLS-crypt key to drop unauthenticated packets early.
  5. Keep the CA private key safe; anyone with it can issue valid certificates.

When someone leaves or a device is lost, revoke its certificate and publish an updated revocation list that the server checks.

Server Configuration Essentials

  • Protocol and port: UDP 1194 by default; TCP 443 for networks that block UDP.
  • Modern data ciphers (AES-GCM or ChaCha20-Poly1305) and TLS 1.2 or newer.
  • A dedicated tunnel subnet that does not overlap your users' home networks.
  • Run as an unprivileged user and group after start-up.
  • Keepalive settings so dead connections are cleaned up.

Full Tunnel vs Split Tunnel

A full tunnel sends all client traffic through the VPS (push a redirect-gateway option and set up NAT with IP forwarding). This gives a fixed egress IP and protects traffic on untrusted networks but uses more bandwidth. A split tunnel pushes only routes to internal networks, so normal internet traffic goes directly. Choose per use case; many teams use split tunnels for internal access and full tunnels only when a fixed IP is required.

Firewall and Hardening

  • Open only the OpenVPN port and SSH (preferably SSH restricted to the VPN itself once it works).
  • Use SSH keys (see our SSH keys guide) and keep the OS updated.
  • Restrict which internal hosts and ports VPN clients can reach with firewall rules on the VPN subnet.
  • Our UFW guide shows how to combine NAT and firewall rules.

Managing Clients

Distribute client profiles securely (not by email in plain text), name certificates after people and devices, and keep a register of who has access. For larger teams, an access server or management tool with single sign-on and multi-factor authentication reduces manual work. Review access quarterly.

Logging and Privacy

Log connection events (who connected, when, from where) for security, but avoid logging traffic contents. Define how long logs are kept, and make sure your use complies with your organisation's policies and applicable law.

Performance and Sizing

Encryption uses CPU; modern CPUs with AES instructions handle many users easily. Memory needs are small. Bandwidth matters for full-tunnel use, so an unmetered port avoids surprises.

UseSuggested plan
Small team remote access (up to ~50 users)2 vCores / 8 GB
Full-tunnel for many users, or VPN plus other services4 vCores / 16 GB

Example: Securing Internal Tools

A company moved its admin panels, database ports and monitoring dashboards off the public internet. Staff connect with OpenVPN over UDP 1194 (with a TCP 443 fallback for hotel networks), receive only routes to the internal subnet, and authenticate with per-person certificates plus multi-factor authentication through the access tool. Leavers' certificates are revoked the same day.

Common Mistakes

  • Sharing one client certificate among several people.
  • Keeping the CA key on the VPN server itself without protection.
  • Never revoking certificates.
  • Outdated ciphers from old tutorials.
  • Letting VPN clients reach every internal host and port.

In Short

Build a proper PKI, issue a certificate per person, use modern ciphers and TLS authentication, choose full or split tunnelling deliberately, restrict what clients can reach, revoke promptly and keep the server patched. For a lighter alternative, consider WireGuard or a zero trust approach (see our zero trust guide).

Next Steps

Decide between OpenVPN and WireGuard, build your PKI on a separate machine, deploy the server with modern settings, issue per-person certificates and document how to revoke access. Security controls only help if they keep working, so schedule a short quarterly review: confirm who still has access, apply pending updates, test that backups restore and check that nothing you closed has quietly been reopened by a later change. Document each step as you go, including the reasons for every rule and exception, so colleagues can maintain the setup confidently and auditors or customers can see how access is controlled.

SkyRainCloud Plans for This Workload

OpenVPN needs little memory; encryption uses CPU. 2 vCores / 8 GB serves dozens of remote users comfortably, and the unmetered 1 Gbps port handles full-tunnel traffic without bandwidth worries.

AMD EPYC 7C13 VPS

Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — AMD28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthWebsites, small APIs, bots, staging and VPN serversOrder
VPS 2 — AMD416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,299/monthWooCommerce, Node.js/Python backends, Docker Compose stacks, CI runnersOrder
VPS 3 — AMD832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,499/monthProduction databases, high-traffic sites, multi-container appsOrder
VPS 4 — AMD1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,899/monthLarge production workloads, SaaS platforms, analytics, in-memory cachesOrder

Intel Xeon Platinum 8269CY VPS

KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — Intel28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthBusiness websites, small apps, scheduled jobs and botsOrder
VPS 2 — Intel416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,169/monthBusiness software, mid-size databases, several sites on one serverCheck stock
VPS 3 — Intel832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,249/monthERP/CRM stacks, heavier databases, multiple production appsCheck stock
VPS 4 — Intel1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,299/monthHigh-memory workloads and consolidated production serversCheck stock

Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.

Frequently Asked Questions

Can I run OpenVPN on a VPS?
Yes. Install OpenVPN, create a certificate authority with Easy-RSA and issue server and client certificates.
Which port does OpenVPN use?
UDP 1194 by default; TCP 443 is common where UDP is blocked.
Should I choose OpenVPN or WireGuard?
WireGuard is simpler and usually faster; OpenVPN offers TCP fallback, PKI and broad tool compatibility.
What is a full tunnel?
All client traffic goes through the VPN server, giving a fixed egress IP.
What is a split tunnel?
Only traffic to internal networks goes through the VPN; other traffic goes directly.
How do I remove a user's access?
Revoke their certificate and update the revocation list the server checks.
Should users share certificates?
No, issue one certificate per person or device.
How much does OpenVPN need?
Little memory; CPU for encryption. 2 vCores / 8 GB serves dozens of users.
Does a full tunnel use a lot of bandwidth?
Yes, all client traffic passes through the server, so an unmetered port helps.
Which plan suits an OpenVPN server?
2 vCores / 8 GB for small teams; 4 vCores / 16 GB for many full-tunnel users.
Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning