Giter Club home page Giter Club logo

ovpn-creator's Introduction

OVPN creator

This script will create a new .ovpn file with all required information to connect a new client to your openVPN server.

Dependencies

Before using this script, make sure that the following conditions are met when not altering the script:

  • a template file called client.ovpn needs to be present in the keys folder (/etc/openvpn/easy-rsa/keys/);
  • client.ovpn should not refer to any .crt, .ca, and .key files (remove or comment out the lines containing this dependency);
  • client.ovpn has to contain all the contents of the .ca file between <ca> and </ca> tags.

These dependencies were based on the OpenVPN server setup instructions found on DigitalOcean: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04.

Usage

To start, run the script. It will ask you for a device name, this name will also be used for the output file (<device name>.ovpn). It will then walk you through the generation of the certificate and key files. When done, the certificate and key contents are added to the .ovpn file, after which the .ovpn file will be saved in the same folder as the script.

ovpn-creator's People

Contributors

stuiterveer avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.