Changed transmission to deluge. Simplify ufw rules
This commit is contained in:
17
root/etc/openvpn/nordvpn/configure-openvpn.sh
Executable file
17
root/etc/openvpn/nordvpn/configure-openvpn.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
NORDVPN_PROTOCOL=${NORDVPN_PROTOCOL:-UDP}
|
||||
export NORDVPN_PROTOCOL
|
||||
|
||||
NORDVPN_CATEGORY=${NORDVPN_CATEGORY:-P2P}
|
||||
export NORDVPN_CATEGORY
|
||||
|
||||
|
||||
if [[ -n $OPENVPN_CONFIG ]]; then
|
||||
echo "Downloading user specified config. NORDVPN_PROTOCOL is set to: ${NORDVPN_PROTOCOL}"
|
||||
${VPN_PROVIDER_HOME}/updateConfigs.sh --openvpn-config
|
||||
elif [[ -n $NORDVPN_COUNTRY ]]; then
|
||||
export OPENVPN_CONFIG=$(${VPN_PROVIDER_HOME}/updateConfigs.sh)
|
||||
else
|
||||
export OPENVPN_CONFIG=$(${VPN_PROVIDER_HOME}/updateConfigs.sh --get-recommended)
|
||||
fi
|
Reference in New Issue
Block a user