Skip to content

mdmvgithub/gesOVPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

gesOVPN

Small wizard for OpenVPN

This shell script is a small configurator for OpenVPN. It allows to manage servers, certification authorities and its clients. It is intended for users who do not want to struggle with technical details.

Installation

Manual

As root, run:

curl -sfLo /usr/local/sbin/gesovpn https://raw.githubusercontent.com/mdmvgithub/gesOVPN/refs/heads/master/gesovpn
chmod 700 /usr/local/sbin/gesovpn

Features

All functions are through menus, it is not necessary to use other commands.

  • Configure one o more servers, then enable, disable, start, stop them.
  • Configure CAs.
  • Create files for clients, with optional password.
  • Set Static IPs for clients.
  • Block clients for a server.

First use

Just run gesovpn.

  • It will show a form to set up basic settings for your server.
  • The next form allows you to configure your certification authority (CA).
  • Then you can generate the .ovpn file for your first client.

Be patient with the generation of the DH params.

Next use

Just run gesovpn. Now you can select an existing server or create one. Several servers can share the same CA. Certificate revocation is not contemplated, but clients can be selectively blocked for each server.

To generate clients, you can use the command line:

gesovpn -sv -list

Select the server, i.e. my_server, and request common name, password, static ip (yes/no)

gesovpn -sv my_server -cl 'common_name' 'password' yes -cl 'another_name' '---' no -cl 'another' 'pwd min 8' no ...

About

Small wizard for OpenVPN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages