2015-10-07 16:45:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
# _ _ ___ ______ _ _
|
|
|
|
# | \ | | ___ _ __ __| \ \ / / _ \| \ | |
|
|
|
|
# | \| |/ _ \| '__/ _` |\ \ / /| |_) | \| |
|
|
|
|
# | |\ | (_) | | | (_| | \ V / | __/| |\ |
|
|
|
|
# |_| \_|\___/|_| \__,_| \_/ |_| |_| \_|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
client
|
|
|
|
dev tun
|
|
|
|
proto udp
|
|
|
|
remote 192.99.168.52 1194
|
|
|
|
resolv-retry infinite
|
|
|
|
remote-random
|
|
|
|
nobind
|
|
|
|
tun-mtu 1500
|
|
|
|
tun-mtu-extra 32
|
|
|
|
mssfix 1450
|
|
|
|
persist-key
|
|
|
|
persist-tun
|
|
|
|
ping 15
|
|
|
|
ping-restart 45
|
|
|
|
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-----
|
|
|
|
MIIENzCCA6CgAwIBAgIJAJppFExlys5tMA0GCSqGSIb3DQEBBQUAMIHEMQswCQYD
|
|
|
|
VQQGEwJDQTERMA8GA1UECBMITW9udHJlYWwxETAPBgNVBAcTCE1vbnRyZWFsMR0w
|
|
|
|
GwYDVQQKExRhbnRpZGRvcy5ub3JkdnBuLmNvbTEdMBsGA1UECxMUYW50aWRkb3Mu
|
|
|
|
bm9yZHZwbi5jb20xHTAbBgNVBAMTFGFudGlkZG9zLm5vcmR2cG4uY29tMREwDwYD
|
|
|
|
VQQpEwhhbnRpZGRvczEfMB0GCSqGSIb3D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crObTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAMe+b+Wn
|
|
|
|
ZXjMoyWhSVXMR9+0zq65kc/IbuGegt4s+Y/xQqeFpvgBaTwnJth0y+A4o/jniSX/
|
|
|
|
Sde0+ibn96b208ADHhDbOAB2YKIBDPQp96LAsMJ/1uEK+8/NrhsZAn1lMDJBwfy0
|
|
|
|
xEmxoT4wALt5324FbvpBsAlkUpFc/laDfq36
|
|
|
|
-----END CERTIFICATE-----
|
|
|
|
</ca>
|
|
|
|
key-direction 1
|
|
|
|
<tls-auth>
|
|
|
|
#
|
|
|
|
# 2048 bit OpenVPN static key
|
|
|
|
#
|
|
|
|
-----BEGIN OpenVPN Static key V1-----
|
|
|
|
60bf45857b53a955318dcad691c4adb3
|
|
|
|
e3c64c381b4c31cade072d97e2c38faf
|
|
|
|
d9c4a87b4f4d3ec50baab8ca1a9e62ed
|
|
|
|
06fdf83cfea07b897a321208b990c4a1
|
|
|
|
010f1b803d98fe9c95d5de4a3e4254eb
|
|
|
|
1e1ccb9054db9baae5194d51ab09bc09
|
|
|
|
1837d12cace24bdc76edc3dd3ce5edae
|
|
|
|
3752f9699e37d68069bbc17d48f00c2f
|
|
|
|
d8dfceb07d830c421f77874774045b50
|
|
|
|
8c1f632e0337164adf5c678f434d7d38
|
|
|
|
123e9e865fa833d788d55faa09af9aa3
|
|
|
|
410d4bdea0b0d4550c89971bbaa66c08
|
|
|
|
f15aeb55483bccfd392212f15e4760f7
|
|
|
|
30160fffd368f28e6d0b6fb96a8198ee
|
|
|
|
79f6ea4f574151624fdbf513914e5295
|
|
|
|
ba35677fce8aeb8f09fb81c5ef697ff0
|
|
|
|
-----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
|
|
|
|
|