From 62291483ae82f23adf42db0df428f5a2a906e7dd Mon Sep 17 00:00:00 2001 From: Kristian Haugene Date: Sat, 5 Sep 2015 15:44:28 +0200 Subject: [PATCH] latest configs from PIA, scripted the adjustments for the container --- openvpn/adjustConfigs.sh | 56 ++++++++++++++++++++++++++++++ openvpn/pia/AU Melbourne.ovpn | 10 +++--- openvpn/pia/AU Sydney.ovpn | 10 +++--- openvpn/pia/Brazil.ovpn | 24 +++++++++++++ openvpn/pia/CA North York.ovpn | 10 +++--- openvpn/pia/CA Toronto.ovpn | 10 +++--- openvpn/pia/France.ovpn | 10 +++--- openvpn/pia/Germany.ovpn | 10 +++--- openvpn/pia/Hong Kong.ovpn | 10 +++--- openvpn/pia/Ireland.ovpn | 24 +++++++++++++ openvpn/pia/Israel.ovpn | 10 +++--- openvpn/pia/Italy.ovpn | 24 +++++++++++++ openvpn/pia/Japan.ovpn | 10 +++--- openvpn/pia/Mexico.ovpn | 10 +++--- openvpn/pia/Netherlands.ovpn | 10 +++--- openvpn/pia/Romania.ovpn | 10 +++--- openvpn/pia/Russia.ovpn | 10 +++--- openvpn/pia/Singapore.ovpn | 10 +++--- openvpn/pia/Sweden.ovpn | 10 +++--- openvpn/pia/Switzerland.ovpn | 10 +++--- openvpn/pia/Turkey.ovpn | 24 +++++++++++++ openvpn/pia/UK London.ovpn | 10 +++--- openvpn/pia/UK Southampton.ovpn | 10 +++--- openvpn/pia/US California.ovpn | 10 +++--- openvpn/pia/US East.ovpn | 10 +++--- openvpn/pia/US Florida.ovpn | 10 +++--- openvpn/pia/US Midwest.ovpn | 10 +++--- openvpn/pia/US New York City.ovpn | 24 +++++++++++++ openvpn/pia/US Seattle.ovpn | 10 +++--- openvpn/pia/US Silicon Valley.ovpn | 10 +++--- openvpn/pia/US Texas.ovpn | 10 +++--- openvpn/pia/US West.ovpn | 10 +++--- 32 files changed, 332 insertions(+), 104 deletions(-) create mode 100755 openvpn/adjustConfigs.sh create mode 100644 openvpn/pia/Brazil.ovpn create mode 100644 openvpn/pia/Ireland.ovpn create mode 100644 openvpn/pia/Italy.ovpn create mode 100644 openvpn/pia/Turkey.ovpn create mode 100644 openvpn/pia/US New York City.ovpn diff --git a/openvpn/adjustConfigs.sh b/openvpn/adjustConfigs.sh new file mode 100755 index 0000000..361f42a --- /dev/null +++ b/openvpn/adjustConfigs.sh @@ -0,0 +1,56 @@ +#!/bin/sh + +bold=$(tput bold) +normal=$(tput sgr0) + +# +# This is a script to ease the process of updating and adding .ovpn files to the project. +# As some customizations have to be done with the .ovpn files from the providers +# this script was created to make it easy and also to highlight which changes we actually do and why. +# +# Intended usage is to download .zip (or other) package with .ovpn files from your provider. +# Then delete the content in the provider-folder, replace with the new ones, run the script and it should be quite good. +# Just need to double check that the default.ovpn is still there and that the diff to origin looks reasonable. +# + +display_usage() { + echo "${bold}Hint: read the script before using it${normal}" + echo "If you just forgot: ./adjustConfigs.sh " +} + +# if no arguments supplied, display usage +if [ $# -lt 1 ] +then + display_usage + exit 1 +fi + +provider=$1 + +for configFile in $provider/*.ovpn; + do + # Set fixed tun device number + sed -i "s/dev tun.*/dev tun0/g" "$configFile" + + # Absolute reference to ca cert + sed -i "s/ca .*\.crt/ca \/etc\/openvpn\/$provider\/ca.crt/g" "$configFile" + + # Absolute reference to crl + sed -i "s/crl-verify.*\.pem/crl-verify \/etc\/openvpn\/$provider\/crl.pem/g" "$configFile" + + # Set user-pass file location + sed -i "s/auth-user-pass.*/auth-user-pass \/config\/openvpn-credentials.txt/g" "$configFile" + + # Insert transmission control script triggers + cat <> $configFile + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh +EOT + + done + +echo "Updated all .ovpn files in folder $provider" diff --git a/openvpn/pia/AU Melbourne.ovpn b/openvpn/pia/AU Melbourne.ovpn index f7ae5dd..0ef2d29 100644 --- a/openvpn/pia/AU Melbourne.ovpn +++ b/openvpn/pia/AU Melbourne.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/AU Sydney.ovpn b/openvpn/pia/AU Sydney.ovpn index e322b05..bbb87da 100644 --- a/openvpn/pia/AU Sydney.ovpn +++ b/openvpn/pia/AU Sydney.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Brazil.ovpn b/openvpn/pia/Brazil.ovpn new file mode 100644 index 0000000..39465ad --- /dev/null +++ b/openvpn/pia/Brazil.ovpn @@ -0,0 +1,24 @@ +client +dev tun0 +proto udp +remote brazil.privateinternetaccess.com 1194 +resolv-retry infinite +nobind +persist-key +persist-tun +ca /etc/openvpn/pia/ca.crt +tls-client +remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt +comp-lzo +verb 1 +reneg-sec 0 +crl-verify /etc/openvpn/pia/crl.pem + + + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh diff --git a/openvpn/pia/CA North York.ovpn b/openvpn/pia/CA North York.ovpn index 95c4f1d..f14bfea 100644 --- a/openvpn/pia/CA North York.ovpn +++ b/openvpn/pia/CA North York.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/CA Toronto.ovpn b/openvpn/pia/CA Toronto.ovpn index ad7542a..d44b961 100644 --- a/openvpn/pia/CA Toronto.ovpn +++ b/openvpn/pia/CA Toronto.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/France.ovpn b/openvpn/pia/France.ovpn index cb86432..deaa23c 100644 --- a/openvpn/pia/France.ovpn +++ b/openvpn/pia/France.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Germany.ovpn b/openvpn/pia/Germany.ovpn index 2e9b203..eae39ed 100644 --- a/openvpn/pia/Germany.ovpn +++ b/openvpn/pia/Germany.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Hong Kong.ovpn b/openvpn/pia/Hong Kong.ovpn index 63b4c54..3ac2425 100644 --- a/openvpn/pia/Hong Kong.ovpn +++ b/openvpn/pia/Hong Kong.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Ireland.ovpn b/openvpn/pia/Ireland.ovpn new file mode 100644 index 0000000..eb22425 --- /dev/null +++ b/openvpn/pia/Ireland.ovpn @@ -0,0 +1,24 @@ +client +dev tun0 +proto udp +remote ireland.privateinternetaccess.com 1194 +resolv-retry infinite +nobind +persist-key +persist-tun +ca /etc/openvpn/pia/ca.crt +tls-client +remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt +comp-lzo +verb 1 +reneg-sec 0 +crl-verify /etc/openvpn/pia/crl.pem + + + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh diff --git a/openvpn/pia/Israel.ovpn b/openvpn/pia/Israel.ovpn index 8d5dee1..6c2c237 100644 --- a/openvpn/pia/Israel.ovpn +++ b/openvpn/pia/Israel.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Italy.ovpn b/openvpn/pia/Italy.ovpn new file mode 100644 index 0000000..f39208a --- /dev/null +++ b/openvpn/pia/Italy.ovpn @@ -0,0 +1,24 @@ +client +dev tun0 +proto udp +remote italy.privateinternetaccess.com 1194 +resolv-retry infinite +nobind +persist-key +persist-tun +ca /etc/openvpn/pia/ca.crt +tls-client +remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt +comp-lzo +verb 1 +reneg-sec 0 +crl-verify /etc/openvpn/pia/crl.pem + + + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh diff --git a/openvpn/pia/Japan.ovpn b/openvpn/pia/Japan.ovpn index 861c1ef..03a1716 100644 --- a/openvpn/pia/Japan.ovpn +++ b/openvpn/pia/Japan.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Mexico.ovpn b/openvpn/pia/Mexico.ovpn index 562d7ef..3d5bdcc 100644 --- a/openvpn/pia/Mexico.ovpn +++ b/openvpn/pia/Mexico.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Netherlands.ovpn b/openvpn/pia/Netherlands.ovpn index 69921c3..6a608ce 100644 --- a/openvpn/pia/Netherlands.ovpn +++ b/openvpn/pia/Netherlands.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Romania.ovpn b/openvpn/pia/Romania.ovpn index ba2ed65..d1d3395 100644 --- a/openvpn/pia/Romania.ovpn +++ b/openvpn/pia/Romania.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Russia.ovpn b/openvpn/pia/Russia.ovpn index 844412c..05cde54 100644 --- a/openvpn/pia/Russia.ovpn +++ b/openvpn/pia/Russia.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Singapore.ovpn b/openvpn/pia/Singapore.ovpn index 8ce8b3d..1487620 100644 --- a/openvpn/pia/Singapore.ovpn +++ b/openvpn/pia/Singapore.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Sweden.ovpn b/openvpn/pia/Sweden.ovpn index 2e191d6..66c8231 100644 --- a/openvpn/pia/Sweden.ovpn +++ b/openvpn/pia/Sweden.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Switzerland.ovpn b/openvpn/pia/Switzerland.ovpn index fd1f468..bf8dc9c 100644 --- a/openvpn/pia/Switzerland.ovpn +++ b/openvpn/pia/Switzerland.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/Turkey.ovpn b/openvpn/pia/Turkey.ovpn new file mode 100644 index 0000000..b5ca8b7 --- /dev/null +++ b/openvpn/pia/Turkey.ovpn @@ -0,0 +1,24 @@ +client +dev tun0 +proto udp +remote turkey.privateinternetaccess.com 1194 +resolv-retry infinite +nobind +persist-key +persist-tun +ca /etc/openvpn/pia/ca.crt +tls-client +remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt +comp-lzo +verb 1 +reneg-sec 0 +crl-verify /etc/openvpn/pia/crl.pem + + + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh diff --git a/openvpn/pia/UK London.ovpn b/openvpn/pia/UK London.ovpn index c562eee..958ef93 100644 --- a/openvpn/pia/UK London.ovpn +++ b/openvpn/pia/UK London.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/UK Southampton.ovpn b/openvpn/pia/UK Southampton.ovpn index 3bc0d56..85ef353 100644 --- a/openvpn/pia/UK Southampton.ovpn +++ b/openvpn/pia/UK Southampton.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US California.ovpn b/openvpn/pia/US California.ovpn index 5f4b83a..b9f90c2 100644 --- a/openvpn/pia/US California.ovpn +++ b/openvpn/pia/US California.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US East.ovpn b/openvpn/pia/US East.ovpn index dc001c7..eb7efcb 100644 --- a/openvpn/pia/US East.ovpn +++ b/openvpn/pia/US East.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US Florida.ovpn b/openvpn/pia/US Florida.ovpn index c0ad5ae..c4e7c9d 100644 --- a/openvpn/pia/US Florida.ovpn +++ b/openvpn/pia/US Florida.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US Midwest.ovpn b/openvpn/pia/US Midwest.ovpn index e6759c9..c85b3a6 100644 --- a/openvpn/pia/US Midwest.ovpn +++ b/openvpn/pia/US Midwest.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US New York City.ovpn b/openvpn/pia/US New York City.ovpn new file mode 100644 index 0000000..0b6db82 --- /dev/null +++ b/openvpn/pia/US New York City.ovpn @@ -0,0 +1,24 @@ +client +dev tun0 +proto udp +remote us-newyorkcity.privateinternetaccess.com 1194 +resolv-retry infinite +nobind +persist-key +persist-tun +ca /etc/openvpn/pia/ca.crt +tls-client +remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt +comp-lzo +verb 1 +reneg-sec 0 +crl-verify /etc/openvpn/pia/crl.pem + + + + +# OpenVPN controls startup and shut down of transmission +script-security 2 +up /etc/transmission/start.sh +down /etc/transmission/stop.sh diff --git a/openvpn/pia/US Seattle.ovpn b/openvpn/pia/US Seattle.ovpn index b8dc7fb..8f8dd3d 100644 --- a/openvpn/pia/US Seattle.ovpn +++ b/openvpn/pia/US Seattle.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US Silicon Valley.ovpn b/openvpn/pia/US Silicon Valley.ovpn index 108b654..1d9d25f 100644 --- a/openvpn/pia/US Silicon Valley.ovpn +++ b/openvpn/pia/US Silicon Valley.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US Texas.ovpn b/openvpn/pia/US Texas.ovpn index 7a871ae..60bfb05 100644 --- a/openvpn/pia/US Texas.ovpn +++ b/openvpn/pia/US Texas.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh diff --git a/openvpn/pia/US West.ovpn b/openvpn/pia/US West.ovpn index b5cf04d..2f4bb3b 100644 --- a/openvpn/pia/US West.ovpn +++ b/openvpn/pia/US West.ovpn @@ -6,17 +6,19 @@ resolv-retry infinite nobind persist-key persist-tun +ca /etc/openvpn/pia/ca.crt tls-client remote-cert-tls server +auth-user-pass /config/openvpn-credentials.txt comp-lzo verb 1 reneg-sec 0 - -ca /etc/openvpn/pia/ca.crt -auth-user-pass /config/openvpn-credentials.txt crl-verify /etc/openvpn/pia/crl.pem -# OpenVPN control startup and shut down of transmission + + + +# OpenVPN controls startup and shut down of transmission script-security 2 up /etc/transmission/start.sh down /etc/transmission/stop.sh