NordVPN On Demand
After resolving an issue with the default.ovpn symlink, it was bugging me that each time the container ran it would download all of the NordVPN configs. After a bit of research I found a url where I could download just one ovpn file. A bit of rework and now only downloads the applicable config based off of NordVPNs api. No more 4000+ configs. User can configure this using either NORDVPN_COUNTRY to connect to the best server in that country or a specific config using the OPENVPN_CONFIG parameter. If neither are specified config will be selected based off of NordVPN api and if both are specified it will connect to OPENVPN_CONFIG server first using the api to decide on a backup 'default.ovpn' config in case it fails. In my rewriting of this I also realised there was no need for the updateConfigs.sh script anymore, but to keep everything in keeping I replaced the contents of the updateConfigs.sh script with the NordVPN_selector one and removed the latter.
This commit is contained in:
3
Dockerfile
Normal file → Executable file
3
Dockerfile
Normal file → Executable file
@@ -48,9 +48,6 @@ ADD scripts /etc/scripts/
|
||||
ENV OPENVPN_USERNAME=**None** \
|
||||
OPENVPN_PASSWORD=**None** \
|
||||
OPENVPN_PROVIDER=**None** \
|
||||
NORDVPN_COUNTRY= \
|
||||
NORDVPN_PROTOCOL=UDP \
|
||||
NORDVPN_CATEGORY=P2P \
|
||||
GLOBAL_APPLY_PERMISSIONS=true \
|
||||
TRANSMISSION_ALT_SPEED_DOWN=50 \
|
||||
TRANSMISSION_ALT_SPEED_ENABLED=false \
|
||||
|
Reference in New Issue
Block a user