2015-10-07 16:45:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
# _ _ ___ ______ _ _
|
|
|
|
# | \ | | ___ _ __ __| \ \ / / _ \| \ | |
|
|
|
|
# | \| |/ _ \| '__/ _` |\ \ / /| |_) | \| |
|
|
|
|
# | |\ | (_) | | | (_| | \ V / | __/| |\ |
|
|
|
|
# |_| \_|\___/|_| \__,_| \_/ |_| |_| \_|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
client
|
|
|
|
dev tun
|
|
|
|
proto udp
|
|
|
|
remote 151.236.20.17 1194
|
|
|
|
resolv-retry infinite
|
|
|
|
remote-random
|
|
|
|
nobind
|
|
|
|
tun-mtu 1500
|
|
|
|
tun-mtu-extra 32
|
|
|
|
mssfix 1450
|
|
|
|
persist-key
|
|
|
|
persist-tun
|
|
|
|
ping 15
|
|
|
|
ping-restart 0
|
|
|
|
ping-timer-rem
|
|
|
|
reneg-sec 0
|
|
|
|
|
|
|
|
remote-cert-tls server
|
|
|
|
|
|
|
|
#mute 10000
|
|
|
|
# Read authentication persisted from env
|
|
|
|
auth-user-pass /config/openvpn-credentials.txt
|
|
|
|
|
|
|
|
comp-lzo
|
|
|
|
verb 3
|
|
|
|
pull
|
|
|
|
fast-io
|
|
|
|
cipher AES-256-CBC
|
|
|
|
|
|
|
|
<ca>
|
|
|
|
-----BEGIN CERTIFICATE-----
|
|
|
|
MIIExDCCA6ygAwIBAgIJAJqjc+bAQmPGMA0GCSqGSIb3DQEBBQUAMIGcMQswCQYD
|
|
|
|
VQQGEwJQQTELMAkGA1UECBMCUEExDzANBgNVBAcTBlBhbmFtYTEQMA4GA1UEChMH
|
|
|
|
Tm9yZFZQTjEQMA4GA1UECxMHTm9yZFZQTjEYMBYGA1UEAxMPaGsyLm5vcmR2cG4u
|
|
|
|
Y29tMRAwDgYDVQQpEwdOb3JkVlBOMR8wHQYJKoZIhvcNAQkBFhBjZXJ0QG5vcmR2
|
|
|
|
cG4uY29tMB4XDTE1MDEwNzEx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|
|
|
bm9yZHZwbi5jb22CCQCao3PmwEJjxjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEB
|
|
|
|
BQUAA4IBAQCv0Nuu9sttqPTThS9JXXMuVSAHCvfSX/+jJyBro6q0oOca46lEza9L
|
|
|
|
89/1GmBWsZh6EQ7ZVDsIgHv/Zd4duS2bnhnpXftP7bxUt8QiDWkC6zOb/P4+j86q
|
|
|
|
NP8fSnoe7Kpdu605eZTgEYK+iQivIsgtvYP7sPtvI9Tha/88HWywLz46Z5QBGreS
|
|
|
|
0BQNwincBWWrRgBJGaGgFEI7cGEgYF5f57g4NhDaJHZjbcxOufHXzxjlUl+re/Nu
|
|
|
|
mVZrNQOxNKahOD65U7knhZ2kk4VbmfZRBlpKjMGvok3SyEGrPqADyI391rhIVe7j
|
|
|
|
Y4NK4w6LAN6Jq7iitQExcPZt5L9bFSPS
|
|
|
|
-----END CERTIFICATE-----
|
|
|
|
</ca>
|
|
|
|
key-direction 1
|
|
|
|
<tls-auth>
|
|
|
|
#
|
|
|
|
# 2048 bit OpenVPN static key
|
|
|
|
#
|
|
|
|
-----BEGIN OpenVPN Static key V1-----
|
|
|
|
b14a68db5f0151e3c19822cc6c089b8f
|
|
|
|
aee0e845ed775d9a9bd7fb0df0c89e52
|
|
|
|
fc3481eec7a4bcee65ed8c96026f94f6
|
|
|
|
e6e157ef6ccb56cf1511577bfa2a7313
|
|
|
|
184a0f3fe20f930678d55a4a41a412fe
|
|
|
|
72f271ad2f50f3bcf22fc1edd9e5c819
|
|
|
|
c0861c1bcd2f693e15e5a68138c07bfc
|
|
|
|
8d094aaba40b9e84586953ebbe2f7d49
|
|
|
|
fc43642f5997b57d5c9c9e48b8f9edcc
|
|
|
|
352999d9409e9bfaa3a4f94ccf6c301d
|
|
|
|
8a1a9678e9775859af4ef371e365c8f8
|
|
|
|
c302fa7a3efac84f50498e6dac0c2bf7
|
|
|
|
37e3229feb46eb58b83c71c02c7abb81
|
|
|
|
b347e1de8173b04933c11a9f1fa43aa9
|
|
|
|
b8afe06edb71dd0bfaee356623cb6be5
|
|
|
|
3c0610724ab6c312cd780d1e0306b725
|
|
|
|
-----END OpenVPN Static key V1-----
|
|
|
|
</tls-auth>
|
2015-10-07 20:15:05 +00:00
|
|
|
# OpenVPN controls startup and shut down of transmission
|
|
|
|
script-security 2
|
|
|
|
up /etc/transmission/start.sh
|
|
|
|
down /etc/transmission/stop.sh
|
|
|
|
|