GitXplorerGitXplorer
a

docker-deluge-with-openvpn

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
600a5dbe7b8ff6142a153ac50755971dc2bd1234

Switch to fixed username

aafuous committed 5 years ago
Unverified
daa21255e25c1b8c7382c24a689b3ace687beb0d

Change timings

aafuous committed 5 years ago
Unverified
60a531f7ff5a50f1f1e593d706151a6edc5682e0

Reduce container privileges

aafuous committed 5 years ago
Unverified
7a24e431c964c4c80c1a4a2e8c6fdfc40f7311b0

Check for vpn connection with curl

aafuous committed 5 years ago
Unverified
71d8804856f359d74adc00ec48c197dfde49a837

Ensure openvpn successfully connects

aafuous committed 5 years ago
Unverified
1ff0ceae16fe02ef748247436bcb36f3e64df49f

Add missing openvpn argument

aafuous committed 5 years ago

README

The README file for this repository.

Deluge with OpenVPN in Docker

Torrent privately without messing up network settings.

OpenVPN Setup

Put all relevant OpenVPN configuration files in etc-openvpn, which is mounted as a volume to /etc/openvpn in the container. Put the main OpenVPN configuration file in etc-openvpn/config.ovpn. For example with Mullvad VPN, download OpenVPN configuration files from the Mullvad website and extract to etc-openvpn. Then run

mv mullvad_*-*.conf config.ovpn
sed -i 's/^ca mullvad_ca.crt$/ca \/etc\/openvpn\/mullvad_ca.crt/' config.ovpn
sed -i 's/^auth_user_pass mullvad_userpass.txt$/auth_user_pass \/etc\/openvpn\/mullvad_userpass.txt/' config.ovpn
chmod +x update-resolv-conf

Usage

Build the image with build. To run the container, use run <downloads location>. For example, ./run ~/Downloads. Access the web UI at http://localhost:8112/. Stop the container with stop, and get a shell in the container with getshell in case something goes wrong.

Permissions

Make sure run is executed as the user that you want to have ownership over the downloads directory. The scripts create a user in the container corresponding to the user executing run and deluged is executed by that user.