2015-10-07 16:45:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
# _ _ ___ ______ _ _
|
|
|
|
# | \ | | ___ _ __ __| \ \ / / _ \| \ | |
|
|
|
|
# | \| |/ _ \| '__/ _` |\ \ / /| |_) | \| |
|
|
|
|
# | |\ | (_) | | | (_| | \ V / | __/| |\ |
|
|
|
|
# |_| \_|\___/|_| \__,_| \_/ |_| |_| \_|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
client
|
|
|
|
dev tun
|
|
|
|
proto tcp
|
|
|
|
remote 151.236.20.6 443
|
|
|
|
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-----
|
|
|
|
MIIExDCCA6ygAwIBAgIJAPNMntUgjNMPMA0GCSqGSIb3DQEBBQUAMIGcMQswCQYD
|
|
|
|
VQQGEwJQQTELMAkGA1UECBMCUEExDzANBgNVBAcTBlBhbmFtYTEQMA4GA1UEChMH
|
|
|
|
Tm9yZFZQTjEQMA4GA1UECxMHTm9yZFZQTjEYMBYGA1UEAxMPaGszLm5vcmR2cG4u
|
|
|
|
Y29tMRAwDgYDVQQpEwdOb3JkVlBOMR8wHQYJKoZIhvcNAQkBFhBjZXJ0QG5vcmR2
|
|
|
|
cG4uY29tMB4XDTE1MDUxMTA2M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RA
|
|
|
|
bm9yZHZwbi5jb22CCQDzTJ7VIIzTDzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEB
|
|
|
|
BQUAA4IBAQCvlJApRLQTBKUHbqiflZjVQrW2aLUGeqlY8eYuk7rqlCYfD+jgd14x
|
|
|
|
0Bd0QTteZZUbj2Q19Ng1WfN2eOPu9PeV0/yPwEW5g/Ou4p4HlHdPwqCR0hJYoWVl
|
|
|
|
u2TcaDm9K/ijIWJLoryHhHO9ftOMjmdJghXUkzxQTqg5ZontDH1GeT0vIYbvfuMx
|
|
|
|
9ntmSLBFo/AlGJ7o9bDQaURPx5zwpdL9CJDND5xKGT+ez55zCVAh1FygMM1NYrCx
|
|
|
|
V2jPd/MTvzBVGfm5msCwcfEs9kLrLhTsaR7HfksbX9u+EdZiww+JXMJC8Yy3KmjT
|
|
|
|
/ZGN/0LV/0gbyixZqdNjd0ZknF97CFnw
|
|
|
|
-----END CERTIFICATE-----
|
|
|
|
</ca>
|
|
|
|
key-direction 1
|
|
|
|
<tls-auth>
|
|
|
|
#
|
|
|
|
# 2048 bit OpenVPN static key
|
|
|
|
#
|
|
|
|
-----BEGIN OpenVPN Static key V1-----
|
|
|
|
7190f9aff2127ed7894bb22ff87b6b3a
|
|
|
|
7a4bf4664fbb815db62e7be4bc27ff86
|
|
|
|
60ee98b3ee8f1072cf0fdec4e6f7c76d
|
|
|
|
b5a485530ea936519aeeb34c09a54e16
|
|
|
|
0114d50dafc3d019b01b37911ebedba6
|
|
|
|
f010f960a07cf2a6731facaa3c8a2239
|
|
|
|
ed6540e13d8a3a6d4668cf1a887d8314
|
|
|
|
a63b281389b8999614bb50b8938419e4
|
|
|
|
8df8801e4e17586fed6d952872930692
|
|
|
|
40ade61ae66ca4e7ad9f1c083ea6a0a0
|
|
|
|
f918a64e0256e7ce4fef33794b1ce488
|
|
|
|
7628f1151c163c20bb3f39d2f35354dd
|
|
|
|
315693d73095a346d6c32cfa1fd2a7b5
|
|
|
|
0884995e3b6ace31cab0979ae63ef0cc
|
|
|
|
567327dca3e664cbb710efdadd5a2122
|
|
|
|
b7ae82efaa29efceb7e6118295e98cfb
|
|
|
|
-----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
|
|
|
|
|