added ovpn-client-management.conf

This commit is contained in:
Pavel Muhortov 2024-01-06 07:51:38 +03:00
parent 4e6d369329
commit 8983e51896
3 changed files with 11 additions and 2 deletions

1
.gitignore vendored
View File

@ -23,5 +23,4 @@ downloads/
test/ test/
tmp/ tmp/
var/ var/
*.conf
*.log *.log

View File

@ -106,7 +106,7 @@ sudo chmod +x /etc/openvpn/server/ovpn-client-management.sh
```bash ```bash
# edit ovpn-client-management.conf # edit ovpn-client-management.conf
sudo tee /etc/openvpn/server/ovpn-client-management.conf > /dev/null <<'EOF' sudo tee /etc/openvpn/server/ovpn-client-management.conf > /dev/null <<'EOF'
# mail configuration # sendmail configuration
from=user@host.zone from=user@host.zone
pass=password pass=password
dest=user@host.zone dest=user@host.zone

View File

@ -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