Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

DelugeVPN

lutfitorla edited this page Jun 7, 2020 · 13 revisions

DelugeVPN

DelugeVPN is a Torrent Client with OpenVPN to ensure a secure and private connection to the Internet, including use of iptables to prevent IP leakage when the tunnel is down.

See Deluge Wiki for how to use. Default password for the webui is "deluge", please change this before doing anything else.

Installation

  1. Edit Settings cd ~/community/

nano settings.yml

Add this block to the end of settings.yaml if not already present and edit values.

delugevpn:
  vpn_user: your_vpn_username
  vpn_pass: your_vpn_password
  vpn_prov: pia
  vpn_endpoint: Netherlands.ovpn

For Private Internet Access

  • Add your user name and password
  • Change the vpn_endpoint to your chosen server

For other VPN providers

  • Add your user name and password
  • Change vpn_prov to custom
  • Leave vpn_endpoint as Netherlands.ovpn
  • Follow step 2 below then immediately follow step 3 (optional)
  1. Run the DelugeVPN Role
cd ~/community
sudo ansible-playbook community.yml --tags delugevpn

Configuration

FOR PIA

vpn_user: Your PIA user name

vpn_pass: Your PIA password

vpn_prov: pia

vpn_endpoint: Netherlands.ovpn

Included PIA OpenVPN end point options are.

  • AU Melbourne.ovpn CA Montreal.ovpn DE Berlin.ovpn Hungary.ovpn Luxembourg.ovpn Romania.ovpn UAE.ovpn US Chicago.ovpn US New York City.ovpn
  • AU Perth.ovpn DE Frankfurt.ovpn India.ovpn Mexico.ovpn Singapore.ovpn UK London.ovpn US Denver.ovpn US Seattle.ovpn
  • Austria.ovpn CA Toronto.ovpn Denmark.ovpn Ireland.ovpn Netherlands.ovpn South Africa.ovpn UK Manchester.ovpn US East.ovpn US Silicon Valley.ovpn
  • AU Sydney.ovpn CA Vancouver.ovpn Finland.ovpn Israel.ovpn New Zealand.ovpn Spain.ovpn UK Southampton.ovpn US Florida.ovpn US Texas.ovpn
  • Belgium.ovpn France.ovpn Italy.ovpn Norway.ovpn Sweden.ovpn US Atlanta.ovpn US Houston.ovpn US Washington DC.ovpn
  • Brazil.ovpn Czech Republic.ovpn Hong Kong.ovpn Japan.ovpn Poland.ovpn Switzerland.ovpn US California.ovpn US Las Vegas.ovpn US West.ovpn
  1. Configuring Server for Custom VPN providers (optional)

Why you need to do this For custom VPN providers, delugevpn needs an ovpn file to complete the install properly. It can check for a custom file in the /opt/delugevpn/openvpn folder, but this folder does not yet exist. Therefore, we will first use PIA's Netherlands.ovpn file, which we will modify later to have our own VPN provider details.

The steps above (step 2) have created some files in /opt/delugevpn/openvpn.

  • ca.rsa.2048.crt - Leave this
  • crl.rsa.2048.pem - Leave this
  • credentials.conf - Leave this. Your VPN username and password are stored here.
  • Netherlands.ovpn - Your server details are stored here. We will change this.

Configuration

docker stop delugevpn
cd /opt/delugevpn/openvpn
rm Netherlands.ovpn

Now you can upload your own .ovpn file from your VPN provider, renamed as "Netherlands.ovpn". If your VPN provider has also included a ca.crt file, upload that file as well.

Note

Do not rename the original "Netherlands.ovpn" file if you're using Filezilla. delugevpn will automatically use the renamed file instead of "Netherlands.ovpn" and your newly uploaded .ovpn file will still be ignored.

Now you can restart the docker

docker start delugevpn

Tips

  • If you run into issues check settings.yml created/modified during installation step #1 above.
    • If your endpoint has spaces you can use single quotes in the settings.yml ex.) vpn_endpoint: 'CA Toronto.ovpn'
  • After checking/fixing settings.yml execute sudo rm -rf /opt/delugevpn
    • WARNING: this will delete all files and folder in /opt/delugevpn, backup first if you need anything)
  • Follow installation step #2 from above again

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally