OpenVPN Configuration Generator logo

OpenVPN Configuration Generator SparkLabs Pty Ltd

Use this command to install OpenVPN Configuration Generator:
winget install --id=SparkLabs.openvpn-configuration-generator -e

The OpenVPN Configuration Generator is designed to make generating server and client configurations for an OpenVPN server and Viscosity easier.

OpenVPN Configuration Generator is a tool designed to simplify the creation of server and client configurations for an OpenVPN server and Viscosity. It streamlines the process of setting up secure VPN connections by providing a user-friendly interface to generate necessary certificates, keys, and configuration files.

Key Features:

  • Initialization Wizard: Easily set up your OpenVPN environment with options to customize key size, certificate validity period, and cryptographic algorithms (RSA, ECDSA, or EdDSA).
  • Client Configuration Generator: Create client-specific configurations with customizable names and settings for seamless connection setup.
  • Revocation Management: Revoke access for specific clients and update the Certificate Revocation List (CRL) to maintain security and control over user access.
  • Cross-Platform Support: Works on macOS, Windows, and Linux, ensuring flexibility across different operating systems.
  • Command-Line Interface: Utilize a straightforward CLI with built-in prompts to guide you through each step of the configuration process.

Audience & Benefit: Ideal for network administrators, DevOps engineers, and developers seeking to deploy secure VPN solutions quickly. This tool saves time by automating complex configuration tasks while ensuring robust security through proper certificate management. It is particularly useful for those managing multiple servers or requiring frequent client setup and revocation.

Available via winget for easy installation, OpenVPN Configuration Generator offers a reliable and efficient solution for setting up and managing OpenVPN environments.

README

OpenVPN Configuration Generator

Developed by SparkLabs

Further documentation and tutorials can be found here.

Overview

The OpenVPN Configuration Generator is designed to make generating server and client configurations for an OpenVPN server and Viscosity easier.

Download

Releases for macOS, Windows, and Linux can be downloaded here.

Usage

To get started, create a new directory, cd into it and run the following then follow the prompts:

openvpn-generate init

To create a client, cd into the directory where you ran init, run the following and follow the prompts:

openvpn-generate client

Usage: openvpn-generate init
Initialise configuration, creates server configuration
Optional:
  --path DIR      Directory configurations are stored (Current Directory default)
  --keysize size  Change Keysize (2048 default)
  --days days     Days certificates are valid (3650 default)
  --algorithm (rsa|ecdsa|eddsa) Algorithm to use (RSA default)
                                ECDSA defaults to secp384r1. EDDSA defaults to ED25519
  --curve curve_name            ECDSA/EDDSA curve to use
  --curve suffix  Appends suffix to server file names. Simplifies running multiple servers slightly.

Usage: openvpn-generate client
Creates client configurations
Optional:
  --path DIR      Directory configurations are stored (Current Directory default)
  --name NAME     Prefill Common Name

Usage: openvpn-generate revoke
Revoke a client and create/update the CRL
Optional:
  --path DIR      Directory configurations are stored (Current Directory default)
  --name NAME     Prefill Common Name

Usage: openvpn-generate --show-curves
Show available ECDSA curves

Usage: openvpn-generate --help
Displays this information

Usage: openvpn-generate --about
Displays information about this tool

Installation

macOS

Extract the tar.gz archive and run

Ubuntu

sudo dpkg -i openvpn-configuration-generator_1.0-1.deb

Windows

Download and run the MSI installer. The install location is added to the system path by default for easy use and installs all prerequisites automatically.

Versions
1.0.9.1009
1.0.8.1008
1.0.7.1007
Website