diff --git a/.gitignore b/.gitignore index 50b09f4..d1af91d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,5 +23,4 @@ downloads/ test/ tmp/ var/ -*.conf *.log \ No newline at end of file diff --git a/README.md b/README.md index 800ad90..256adc8 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ sudo chmod +x /etc/openvpn/server/ovpn-client-management.sh ```bash # edit ovpn-client-management.conf sudo tee /etc/openvpn/server/ovpn-client-management.conf > /dev/null <<'EOF' -# mail configuration +# sendmail configuration from=user@host.zone pass=password dest=user@host.zone diff --git a/ovpn-client-management.conf b/ovpn-client-management.conf new file mode 100644 index 0000000..888a9cd --- /dev/null +++ b/ovpn-client-management.conf @@ -0,0 +1,10 @@ +# sendmail configuration +from=user@host.zone +pass=password +dest=user@host.zone +smtp=smtp.host.zone +port=587 +# telegram configuration +API_KEY=YOURAPIKEY +CHAT_ID=-100123456789 +THRD_ID=123 \ No newline at end of file