generated from pavel.muhortov/template-bash
added ovpn-client-management.conf
This commit is contained in:
parent
4e6d369329
commit
8983e51896
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -23,5 +23,4 @@ downloads/
|
||||||
test/
|
test/
|
||||||
tmp/
|
tmp/
|
||||||
var/
|
var/
|
||||||
*.conf
|
|
||||||
*.log
|
*.log
|
|
@ -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
|
||||||
|
|
10
ovpn-client-management.conf
Normal file
10
ovpn-client-management.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user