Deluge Magnet Links & VPN

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Locked
bookedirl
Posts: 25
Joined: Sat Oct 24, 2015 7:15 am

Deluge Magnet Links & VPN

Post by bookedirl »

Hello,

I have a problem where I can successfully add a magnet link but no peers connect. I'm using OpenVPN through Private Internet access. I can add torrent files and they add and download no problem but the magnet links won't start connecting to peers. I stopped VPN readded the magnet link and it works. What could be causing magnet links to not work when connected through VPN?

Thanks.

rpi2 - dietpi v100
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Deluge Magnet Links & VPN

Post by Fourdee »

bookedirl wrote:Hello,

I have a problem where I can successfully add a magnet link but no peers connect. I'm using OpenVPN through Private Internet access. I can add torrent files and they add and download no problem but the magnet links won't start connecting to peers. I stopped VPN readded the magnet link and it works. What could be causing magnet links to not work when connected through VPN?

Thanks.

rpi2 - dietpi v100
Are you forwarding internet traffic through your private VPN server?
Can you show me the /etc/openvpn/server.conf and your client connection file (hide any personal info and unified keys).
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
bookedirl
Posts: 25
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge Magnet Links & VPN

Post by bookedirl »

I don't have a server.conf this was a self install openvpn and it was installed prior to v100.

Here's the contents of /etc/openvpn

Code: Select all

root@dietpi:/etc/openvpn# dir -l
total 36
-rw-r--r-- 1 root root 1395 Oct 23 22:44 ca.crt
-rw-r--r-- 1 root root  577 Oct 23 22:44 crl.pem
-rwxrwxrwx 1 root root   94 Oct 23 22:46 down.sh
-rwxrwxrwx 1 root root   20 Oct 23 22:48 login.conf
drwxr-xr-x 2 root root 4096 Oct 23 22:42 pia
-rwxrwxrwx 1 root root   95 Oct 23 22:45 route-up.sh
-rwxr-xr-x 1 root root 1301 Dec  5  2014 update-resolv-conf
-rwxrwxrwx 1 root root  356 Oct 23 22:47 USEast.conf
-rwxrwxrwx 1 root root  363 Oct 23 22:47 USNYC.conf
Here's the the config file where open vpn connects to.

Code: Select all

client
dev tun
proto udp
remote us-newyorkcity.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/ca.crt
tls-client
remote-cert-tls server
auth-user-pass /etc/openvpn/login.conf
comp-lzo
verb 1
reneg-sec 0
crl-verify /etc/openvpn/crl.pem
daemon
route-up /etc/openvpn/route-up.sh
down-pre
down /etc/openvpn/down.sh

Would it be worth doing the install through dietpi? Does the integrated install offer any connection redundancy if the VPN were to drop for whatever reason it reconnects?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Deluge Magnet Links & VPN

Post by Fourdee »

bookedirl wrote:I don't have a server.conf this was a self install openvpn and it was installed prior to v100.
It may be in one of the following files:
USEast.conf
USNYC.conf
Would it be worth doing the install through dietpi? Does the integrated install offer any connection redundancy if the VPN were to drop for whatever reason it reconnects?
A reconnect method must be completed at the client end, regardless of DietPi OpenVPN installation or not. Whether thats a .bat script, system service that monitors the state, or additional software.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
bookedirl
Posts: 25
Joined: Sat Oct 24, 2015 7:15 am

Re: Deluge Magnet Links & VPN

Post by bookedirl »

It may be in one of the following files:
USEast.conf
USNYC.conf
Yea that's what I posted above for the config file. I still have the same issue do you see any settings that may seem off in the conf file? Is there another spot I might need to check?

I'll look into the reconnect issue separately.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Deluge Magnet Links & VPN

Post by Fourdee »

bookedirl wrote:
It may be in one of the following files:
USEast.conf
USNYC.conf
Yea that's what I posted above for the config file. I still have the same issue do you see any settings that may seem off in the conf file? Is there another spot I might need to check?

I'll look into the reconnect issue separately.
The file you posted is the client file. Its a bit messy, however, you can compare your files with what DietPi uses:

server = https://github.com/Fourdee/DietPi/blob/ ... 3035-L3061
client = https://github.com/Fourdee/DietPi/blob/ ... 3066-L3085

As your VPN server is not on a DietPi system (http://privateinternetaccess.com), i am unable to offer you further support.
I would suggest you contact your VPN provider http://privateinternetaccess.com for support.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Locked