Docs / Networking / How to Set Up OpenVPN Server

How to Set Up OpenVPN Server

By Admin · Feb 25, 2026 · Updated Apr 23, 2026 · 487 views · 1 min read

OpenVPN provides a robust, widely-compatible VPN solution.

Quick Install with Script

The easiest way to set up OpenVPN:

wget https://git.io/vpn -O openvpn-install.sh\nchmod +x openvpn-install.sh\n./openvpn-install.sh

Follow the interactive prompts to configure the VPN and create your first client.

Firewall

ufw allow 1194/udp

Manage Clients

Run the script again to add or remove clients:

./openvpn-install.sh

Client Setup

Download the generated .ovpn file and import it into your OpenVPN client (available for Windows, macOS, Linux, iOS, Android).

Was this article helpful?