-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.sh
23 lines (12 loc) · 1.03 KB
/
config.example.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SERVER_HELLO_MESSAGE="VPN admin interface." # Hello message on login
NOTIFY_ON_CHANGE_EMAIL="[email protected]" # Email which will be notified on new and revoke actions. Notifications disabled if empty
SEND_USER_CONF_IN_NOTIFICATION="yes" # Attach user config to this notification
NEW_KEY_MAIL_THEME="VPN Access Granted" # Theme of new key notification email
REVOKE_KEY_MAIL_THEME="VPN Access Revoked" # Theme of revoke notification email
RENEW_KEY_MAIL_THEME="VPN Access Renewed" # Theme of renew notification email
NEW_KEY_MAIL_TEMPLATE="new_key.tsh" # Template for body of new key email (bash script with echo)
REVOKE_KEY_MAIL_TEMPLATE="revoke_key.tsh" # Template for body of revoke email (bash script with echo)
RENEW_KEY_MAIL_TEMPLATE="renew_key.tsh" # Template for body of renew email (bash script with echo)
OPENVPN_CA_DIR="/etc/openvpn/ca" # Path to easy-rsa ca directory
OPENVPN_CONF_TEMPLATE="Template.ovpn" # Path to preconfigured .ovpn (without keys)
OPENVPN_USER="openvpn" # OpenVPN server user. Can be root or nobody or custom user