2015-10-07 16:45:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
# _ _ ___ ______ _ _
|
|
|
|
# | \ | | ___ _ __ __| \ \ / / _ \| \ | |
|
|
|
|
# | \| |/ _ \| '__/ _` |\ \ / /| |_) | \| |
|
|
|
|
# | |\ | (_) | | | (_| | \ V / | __/| |\ |
|
|
|
|
# |_| \_|\___/|_| \__,_| \_/ |_| |_| \_|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
client
|
|
|
|
dev tun
|
|
|
|
proto udp
|
|
|
|
remote 103.25.59.13 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-----
|
|
|
|
MIIExDCCA6ygAwIBAgIJAOslLUjBT1qtMA0GCSqGSIb3DQEBBQUAMIGcMQswCQYD
|
|
|
|
VQQGEwJQQTELMAkGA1UECBMCUEExDzANBgNVBAcTBlBhbmFtYTEQMA4GA1UEChMH
|
|
|
|
Tm9yZFZQTjEQMA4GA1UECxMHTm9yZFZQTjEYMBYGA1UEAxMPbnoyLm5vcmR2cG4u
|
|
|
|
Y29tMRAwDgYDVQQpEwdOb3JkVlBOMR8wHQYJKoZIhvcNAQkBFhBjZXJ0QG5vcmR2
|
|
|
|
cG4uY29tMB4XDTE1MDUyNjEz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|
|
|
|
bm9yZHZwbi5jb22CCQDrJS1IwU9arTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEB
|
|
|
|
BQUAA4IBAQDA+JSyZmpQgpLdl0nL/E37gv+CJbMkL2hQQyuzjYu7wncjlYAo6XVI
|
|
|
|
PblH0jrjLvhugeaYWAkRyVGTSWdN+WQst1d/zT6qkXGd+CyiWT1eEeDFKo2O5jy2
|
|
|
|
dISWhiFW2R7LH0N8/7IAddfp62LU+OzQjJgIDQjlwKKuoTbdjYn5oJK13w2abP27
|
|
|
|
WRdjswu1qj08xpI8yAUSgyYeVg3/tbUxfGZWIRGKLUpilSiSiSnfgATEGu30+O+C
|
|
|
|
Qc5vLLD/dc6pfbsbTnd8yihiB7rdYPc2gtQn+Nk+99CrWavqiEZp8kj8nWULVZp4
|
|
|
|
luYSuFjsNxLxb0NRS/RJDvg5kmf5msgO
|
|
|
|
-----END CERTIFICATE-----
|
|
|
|
</ca>
|
|
|
|
key-direction 1
|
|
|
|
<tls-auth>
|
|
|
|
#
|
|
|
|
# 2048 bit OpenVPN static key
|
|
|
|
#
|
|
|
|
-----BEGIN OpenVPN Static key V1-----
|
|
|
|
5e35a6da791f87e3cb927024df2e1372
|
|
|
|
3f1bcfb5edebb432de7e7efc5961d9f0
|
|
|
|
0283789def4a67ca19b0e5cde039359d
|
|
|
|
899f967af18661bf35950741ca88d85f
|
|
|
|
bdc0bbb9bde0922f879485d1372818dc
|
|
|
|
6b308134253184ec5ad578d12e88e64c
|
|
|
|
0f158cb554aee38397849d92a2d03c07
|
|
|
|
ae30473285ff089668856539c1bd6f1e
|
|
|
|
99e446a6cdfea8852d8aeddd9c7144fb
|
|
|
|
ec7eabf15b4d00cd6ae6aed6591a1377
|
|
|
|
71af32562ba48455c8950ac8728d2040
|
|
|
|
bc62ec716fc385f0b6a8fb56dfd65f1f
|
|
|
|
dc197867cea6f57651228694ded3cf70
|
|
|
|
2f414be053c6057a06725836e7548ff9
|
|
|
|
a5c645dcc926bb4e7ca36c1e3348cb4d
|
|
|
|
35d3c264ec0dedfb629a6bb674f0ca24
|
|
|
|
-----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
|
|
|
|
|