Skip to content

arjansturing/Auto-OVPN-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Auto-OVPN

Version 2.0

By: Arjan Sturing

OpenVPN automation Powershell script for Windows, Auto-OVPN for OpenVPN 2.4.x can be found here: https://github.com/arjansturing/Auto-OVPN

Use this script at your own risk!

This script automates the following:

  • Installation of OpenVPN 2.5.0 & Power-RSA 2.0 (see: https://github.com/arjansturing/Power-RSA-2.0)
  • Creation of basic PKI & Server config including Server TLS Crypt V2.
  • Creation of Client default config.
  • Adding route in Server config.
  • Adding DNS server to Server config.
  • Adding lookup domain to Server config.
  • Creation of passwordless client and config including client TLS Crypt V2.
  • Creation of password protected client and config including client TLS Crypt V2.
  • Creation of CRL / Revoking a client certificate.

Make sure to start an elevated PowerShell Session and set the ExecutionPolicy to RemoteSigned by using the following PS command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned before running the script!

Automate the world! #PowerShell

//This script is tested on Windows 10 (Build: 2004) with PowerShell version 5.1

About

OpenVPN automation Powershell script for Windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published