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?
| Aspect | OpenVPN | WireGuard |
|---|---|---|
| Configuration | More options, more complexity | Small, simple configuration |
| Performance | Good; user-space by default | Typically faster, in-kernel on Linux |
| Transport | UDP or TCP (can run on 443) | UDP only |
| Authentication | Certificates, optional username/password, plugins | Public keys per peer |
| Revocation | Certificate revocation lists | Remove 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
- Create a certificate authority with Easy-RSA, ideally on a separate machine or kept offline.
- Issue a server certificate and key.
- Issue one client certificate per person or device, never shared.
- Generate a TLS authentication or TLS-crypt key to drop unauthenticated packets early.
- 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.
| Use | Suggested plan |
|---|---|
| Small team remote access (up to ~50 users) | 2 vCores / 8 GB |
| Full-tunnel for many users, or VPN plus other services | 4 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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check 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.