I do not provide the `NORDVPN_PROTOCOL` variable in my container. `NORDVPN_PROTOCOL` is defaulted to `"udp"` in `/openvpn/start.sh` L96 here checks and provides the final portion of the .ovpn download URL which includes `.udp1194` (or `.tcp443` if `NORDVPN_PROTOCOL` was set to "tcp") The end result in these checks and definitions causes the download URL to include an extra `.udp` in the address. In my logs, this is the url it provides to `curl` from which is invalid: `https://downloads.nordcdn.com/configs/files/ovpn_legacy/servers/us4436.nordvpn.com.udp.udp1194.ovpn` It should end up being this instead: `https://downloads.nordcdn.com/configs/files/ovpn_legacy/servers/us4436.nordvpn.com.udp1194.ovpn` Log below: ``` Using OpenVPN provider: NORDVPN 2019-09-21 22:07:03 Checking curl installation 2019-09-21 22:07:03 Removing existing configs 2019-09-21 22:07:03 Selecting the best server... 2019-09-21 22:07:03 Searching for group: legacy_p2p 2019-09-21 22:07:03 Searching for technology: openvpn_udp 2019-09-21 22:07:03 Best server : us4436.nordvpn.com 2019-09-21 22:07:03 Downloading config: default.ovpn 2019-09-21 22:07:03 Downloading from: https://downloads.nordcdn.com/configs/files/ovpn_legacy/servers/us4436.nordvpn.com.udp.udp1194.ovpn % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 162 100 162 0 0 809 0 --:--:-- --:--:-- --:--:-- 810 2019-09-21 22:07:03 Checking line endings 2019-09-21 22:07:03 Updating configs for docker-transmission-openvpn Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 0.0.0.0 via 172.18.0.1 dev eth0 Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/nordvpn/default.ovpn:1: html (2.4.7) Use --help for more information. ```
OpenVPN and Transmission with WebUI
Quick Start
This container contains OpenVPN and Transmission with a configuration where Transmission is running only when OpenVPN has an active tunnel. It bundles configuration files for many popular VPN providers to make the setup easier.
$ docker run --cap-add=NET_ADMIN -d \
-v /your/storage/path/:/data \
-v /etc/localtime:/etc/localtime:ro \
-e CREATE_TUN_DEVICE=true \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=CA\ Toronto \
-e OPENVPN_USERNAME=user \
-e OPENVPN_PASSWORD=pass \
-e WEBPROXY_ENABLED=false \
-e LOCAL_NETWORK=192.168.0.0/16 \
--log-driver json-file \
--log-opt max-size=10m \
-p 9091:9091 \
haugene/transmission-openvpn
Documentation
The full documentation is available at https://haugene.github.io/docker-transmission-openvpn/.
Please help out (about:maintenance)
This image was created for my own use, but sharing is caring, so it had to be open source. It has now gotten quite popular, and that's great! But keeping it up to date, providing support, fixes and new features takes a lot of time.
I'm therefore kindly asking you to donate if you feel like you're getting a good tool and you're able to spare some dollars to keep it functioning as it should. There's a couple of ways to do it:
Become a patron, supporting the project with a small monthly amount.
Make a one time donation through PayPal.
Or use this referral code to DigitalOcean and get 25$ in credits, if you're interested in a cloud setup.
You can also help out by submitting pull-requests or helping others with open issues or in the gitter chat. A big thanks to everyone who has contributed so far! And if you could be interested in joining as collaborator, let me know.