-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ubuntu20 vpn scripts * Try to add support for AL23 vpn * Try to add support for AL23 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Try to add support for AL2 vpn * Add whitelist for snap to work * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2 * Add support for openvpn on AL2
- Loading branch information
Showing
12 changed files
with
598 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,25 @@ | ||
# easy-rsa parameter settings | ||
export EXTHOST="#EXTHOST#" | ||
# EasyRSA 3 vars file | ||
|
||
# NOTE: If you installed from an RPM, | ||
# don't edit this file in place in | ||
# /usr/share/openvpn/easy-rsa -- | ||
# instead, you should copy the whole | ||
# easy-rsa directory to another location | ||
# (such as /etc/openvpn) so that your | ||
# edits will not be wiped out by a future | ||
# OpenVPN package upgrade. | ||
# This is a user-customized vars file for EasyRSA 3. | ||
# Adjust these values to suit your needs. | ||
|
||
# This variable should point to | ||
# the top level of the easy-rsa | ||
# tree. | ||
export EASY_RSA="#EASY_RSA_DIR#" | ||
# Key Size - Increase to 2048 if you are paranoid. This affects performance. | ||
set_var EASYRSA_KEY_SIZE #KEY_SIZE# | ||
|
||
# | ||
# This variable should point to | ||
# the requested executables | ||
# | ||
export OPENSSL="openssl" | ||
export PKCS11TOOL="pkcs11-tool" | ||
export GREP="grep" | ||
# CA and Certificate Expiry - Set these to your desired expiry in days | ||
set_var EASYRSA_CA_EXPIRE 3650 | ||
set_var EASYRSA_CERT_EXPIRE #KEY_EXPIRE# | ||
|
||
# Fields for the request Distinguished Name (DN) | ||
# Adjust these to match your organization's information | ||
set_var EASYRSA_REQ_COUNTRY "#COUNTRY#" | ||
set_var EASYRSA_REQ_PROVINCE "#STATE#" | ||
set_var EASYRSA_REQ_CITY "#CITY#" | ||
set_var EASYRSA_REQ_ORG "#ORG#" | ||
set_var EASYRSA_REQ_EMAIL "#EMAIL#" | ||
set_var EASYRSA_REQ_OU "#OU#" | ||
|
||
# This variable should point to | ||
# the openssl.cnf file included | ||
# with easy-rsa. | ||
export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA` | ||
|
||
# Edit this variable to point to | ||
# your soon-to-be-created key | ||
# directory. | ||
# | ||
# WARNING: clean-all will do | ||
# a rm -rf on this directory | ||
# so make sure you define | ||
# it correctly! | ||
export KEY_DIR="$EASY_RSA/keys" | ||
set_var EASYRSA_BATCH "1" | ||
|
||
# Issue rm -rf warning | ||
echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR | ||
|
||
# PKCS11 fixes | ||
export PKCS11_MODULE_PATH="dummy" | ||
export PKCS11_PIN="dummy" | ||
|
||
# Increase this to 2048 if you | ||
# are paranoid. This will slow | ||
# down TLS negotiation performance | ||
# as well as the one-time DH parms | ||
# generation process. | ||
export KEY_SIZE=#KEY_SIZE# | ||
|
||
# In how many days should the root CA key expire? | ||
export CA_EXPIRE=3650 | ||
|
||
# In how many days should certificates expire? | ||
export KEY_EXPIRE=#KEY_EXPIRE# | ||
|
||
# These are the default values for fields | ||
# which will be placed in the certificate. | ||
# Don't leave any of these fields blank. | ||
export KEY_COUNTRY="#COUNTRY#" | ||
export KEY_PROVINCE="#STATE#" | ||
export KEY_CITY="#CITY#" | ||
export KEY_ORG="#ORG#" | ||
export KEY_EMAIL="#EMAIL#" | ||
export KEY_OU="#OU#" | ||
|
||
# X509 Subject Field | ||
export KEY_NAME="#KEY_NAME#" | ||
|
||
# PKCS11 Smart Card | ||
# export PKCS11_MODULE_PATH="/usr/lib/changeme.so" | ||
# export PKCS11_PIN=1234 | ||
|
||
# If you'd like to sign all keys with the same Common Name, uncomment the KEY_CN export below | ||
# You will also need to make sure your OpenVPN server config has the duplicate-cn option set | ||
# export KEY_CN="CommonName" | ||
# Note: Do not leave any of the fields blank as it may cause the script to fail. |
Oops, something went wrong.