DelugeVPN is a VPN version of Deluge 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.
Edit the DelugeVPN settings in the delugevpn section in saltbox settings.yml: as shown below.
delugevpn:vpn_endpoint:netherlands.ovpnvpn_pass:your_vpn_passwordvpn_prov:piavpn_user:your_vpn_usernamevpn_client:wireguard# 'wireguard' or 'openvpn'
For Private Internet Access
Add your user name and password
Change the vpn_endpoint to your chosen server. Note that PIA occasionally changes which servers have port forwarding. The Netherlands server no longer offers port forwarding. See configuration section for more details.
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
Configuring Server for Custom VPN providers (only for non-pia)**¶
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 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.
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. Upload one or both files into /opt/delugevpn/openvpn.
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.
As of July 4, 2020, the PIA servers that allow port forwarding, and DelugeVPN to work properly, are: CA Toronto, CA Montreal, CA Vancouver, Czech Republic, DE Berlin, DE Frankfurt, France, Israel, Romania, Spain, Switzerland, Sweden. Check the PIA website for changes if these servers do not work.