j4ym0 / pia-qbittorrent-docker

Private internet access & qBittorrent Docker
https://hub.docker.com/r/j4ym0/pia-qbittorrent/
MIT License
90 stars 24 forks source link

Don't use root user for qBittorrent #5

Closed leon-marzahn closed 1 year ago

leon-marzahn commented 1 year ago

I'm actually using your image and it's amazing! Here are some improvements to make it work with the *-arr stack hardlinks :)

Additions:

leon-marzahn commented 1 year ago

Also, i did some more leak testing on my end and it seems to be working well. The only thing i'm thinking about is if it's better to change the network interface in qBittorrent to the tunnel by default?

j4ym0 commented 1 year ago

@leon-marzahn If I remember correctly I had trouble with early versions of qbittorrent. I will look into setting the tunnel as the default interface in qbittorrent.

j4ym0 commented 1 year ago

@leon-marzahn Thank you for your edits, I will review and test on all platforms.

Question: Is the timezone relevant as it would only affect the data within the container and downloaded data is stored in a mounted volume?

leon-marzahn commented 1 year ago

@leon-marzahn Thank you for your edits, I will review and test on all platforms.

Question: Is the timezone relevant as it would only affect the data within the container and downloaded data is stored in a mounted volume?

It's not the most important, but the linuxserver team always adds it. I reckon it's relevant when your server is hosted somewhere and you want to make sure any dates are the same in your docker container.

leon-marzahn commented 1 year ago

@leon-marzahn If I remember correctly I had trouble with early versions of qbittorrent. I will look into setting the tunnel as the default interface in qbittorrent.

I think i tried it, and it reverted back to eth0 anyways. But i also don't know how openvpn works, i was just curious if there is a network interface that doesn't use the vpn, but i'm unsure if that's actually how it works 😅

j4ym0 commented 1 year ago

@leon-marzahn Fair enough. It's not a big change

j4ym0 commented 1 year ago

@leon-marzahn That does seem familiar. The firewall rules are designed to block all traffic to the outside without going through the VPN tunnel. With exception to the IP addresses of the chosen VPN region.

leon-marzahn commented 1 year ago

@leon-marzahn That does seem familiar. The firewall rules are designed to block all traffic to the outside without going through the VPN tunnel. With exception to the IP addresses of the chosen VPN region.

Okay cool. that should be fine then. In that case it shouldn't matter which network interface you use