updated torguard configs, now using udp protocol as well

This commit is contained in:
Kristian Haugene
2016-09-02 22:31:41 +02:00
parent 3643e24434
commit 31b66f3d35
75 changed files with 1376 additions and 1282 deletions

View File

@@ -10,8 +10,9 @@ find . ! -name '*.sh' -delete
curl -L https://torguard.net/downloads/OpenVPN-UDP.zip -o OpenVPN-UDP.zip \
&& unzip -j OpenVPN-UDP.zip && rm OpenVPN-UDP.zip
# Remove TorGuard prefix of config files
# Remove TorGuard prefix of config files and fix line endings
rename 's/^TorGuard\.//' *.ovpn
dos2unix *
# Update configs with correct paths
sed -i "s/ca ca.crt/ca \/etc\/openvpn\/torguard\/ca.crt/" *.ovpn