guillaumedsde / alpine-qbittorrent-openvpn

qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
https://guillaumedsde.gitlab.io/alpine-qbittorrent-openvpn/
GNU General Public License v3.0
215 stars 39 forks source link

IP is leaking through #137

Open Alfagun74 opened 1 year ago

Alfagun74 commented 1 year ago

Information

I just checked the IPs my Torrent Setup is leaking to the outside and was shocked finding out that my VPN IP AND my real IP are leaking through. I used this Tool: (ipleak.net)

Unbenannt

Current setup

information about your current setup

docker image tag (ex: python, latest, 32242d1 ...) python
docker image hash (ex: 603b78e07727) f696e56e6591

docker-compose.yml file or docker run command

how did you start the container? (don't forget to use backticks for creating a proper code block)

version: "3.3"
services:
  alpine-qbittorrent-openvpn:
    environment:
      - OPENVPN_PROVIDER=SURFSHARK
      - OPENVPN_CONFIG=la-vte.prod.surfshark.com_udp
      - OPENVPN_USERNAME=REDACTED
      - OPENVPN_PASSWORD=REDACTED
      - PUID=1000
      - PGID=1000
      - LAN=0.0.0.0/0
    ports:
      - "8080:8080"
    cap_add:
      - NET_ADMIN
    image: guillaumedsde/alpine-qbittorrent-openvpn:latest
G5K-org commented 1 year ago

A simple fix is to prevent qbit using different network interface than tun1. Had this before with qbit and protonvpn on my main machine and without docker. Seems to be a config problem from qbit.

Alfagun74 commented 1 year ago

A simple fix is to prevent qbit using different network interface than tun1. Had this before with qbit and protonvpn on my main machine and without docker. Seems to be a config problem from qbit.

How to configure this?

G5K-org commented 1 year ago

qBit WebUI -> Options -> Advanced -> Network Interface (Dropdown Menu) Check if your IP is still leaking.

Alfagun74 commented 1 year ago

Oh my God thank you som much my ip was leaking for months and @guillaumedsde is inactive

G5K-org commented 1 year ago

No problem.