MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
177 stars 90 forks source link

Testing to make sure OpenVPN is running and "safe" #54

Open tbrand1968 opened 4 years ago

tbrand1968 commented 4 years ago

I've set up the docker and everything appears to be running (nice job by the way!! I've tried several of these and couldn't get any others to work (I'm new to docker though, so I'm sure it's my fault).

Anyway. Everything works... BUT, how do I verify that the torrents are being downloaded through my vpn? If I look at my logs for the docker, all they say is (see attached txt file).

Is there anything I can run through the terminal or some other way to verify the IP address it is using externally?

Thanks in advance...

Tim

qbittorrentvpn.txt

cavery1996 commented 4 years ago

There are a few websites that will check your torrent downloading IP. They give you a single use .torrent with no real data in it for you to download, and they report what IP is trying to download it. Here's one example:

https://torguard.net/checkmytorrentipaddress.php

tbrand1968 commented 4 years ago

Thank you, I will try that.

On Sun, May 24, 2020, 10:35 AM cavery1996 notifications@github.com wrote:

There are a few websites that will check your torrent downloading IP. They give you a single use .torrent with no real data in it for you to download, and they report what IP is trying to download it. Here's one example:

https://torguard.net/checkmytorrentipaddress.php

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarkusMcNugen/docker-qBittorrentvpn/issues/54#issuecomment-633240283, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWD45PVLU42LNAPU7HMSLLRTEWDRANCNFSM4NINNZ7Q .

tbrand1968 commented 4 years ago

Ok, I did try that, and it exposed my "true" public IP, so it means that OpenVPN isn't running (or isn't running correctly.) I've created the .opvn file and put it in /config/openvpn, there is only one ovpn file in the directory.

(also if there is a better place to look for help rather than the Issues area here, please let me know. I'm new to both github and docker)

I read in the readme that the container would fail if openvpn was set to yes and it didn't run... so this is where I'm confused.

The docker container runs fine... (and great by the way)... I just can't get the openvpn part to launch.

Is there a particular type of ovpn I should create? TorGuard is my vpn, and I can generate a file compatible with OpenVPN 2.4 or 2.3 and from what I've read they are not compatible.

Thanks again for any help you can give a newbie. Tim

DanielCalverley commented 3 years ago

You can also do this

  1. ssh to device using putty or similar and log in
  2. "sudo su -" enter credentials
  3. "docker ps" find docker name should be a mix of numbers and letters
  4. "docker exec -it curl ifconfig.me"
  5. take the IP it responded with and check location