Automatic port mapper for qBittorrent with ProtonVPN
Project description
qb-ptmap
Automatic port mapper for qBittorrent with ProtonVPN
Documentation work in progress
Prerequisites
- qBittorrent/qBittorrent-nox;
- Enabled qBittorrent webui;
- natpmpc (debian, arch);
- Wireguard or protonvpn installed.
Wireguard configuration
If you are using the proton vpn GUI you can skip this step.
Generate a Wireguard configuration for Linux and be sure to enable "NAT-PMP (Port Forwarding)".
Not mandatory but recommended
Install uv from the official source.
Installation
Install tool (recommended)
uv tool install qb-ptmap
From source
Clone the repository:
git clone https://github.com/SimoneFelici/qb-ptmap.git
Generate the environment:
cd qb-ptmap && uv sync
source .venv/bin/activate
Usage
Wireguard
Move your wireguard configuration in /etc/wireguard/
Start wireguard with your proton config:
sudo wg-quick up proton
If you installed the recommended way:
qb-ptmap
Else:
Enter the environment and run the script:
source .venv/bin/activate
uv run src/qb_ptmap/qb_ptmap.py
ProtonVPN GUI
Connect to a server with port forwarding.
If you installed the recommended way:
qb-ptmap
Else:
Enter the environment and run the script:
source .venv/bin/activate
Configuration
At the first run the tool will generate the configuration file at ~/.local/share/qb-ptmap/config.toml
You can then edit:
- Webui url;
- User;
- Password.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qb_ptmap-1.0.1.tar.gz.
File metadata
- Download URL: qb_ptmap-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c114164a8716e928c60c1d1966c0628d6ce77f6fd88e0669b234599065e6700b
|
|
| MD5 |
bf40559178e85c4c5b20098f7e21dc62
|
|
| BLAKE2b-256 |
725f9f3e8ed31d600251d893d36c5c009ac37225d65b1d9ca7cd4a25c33b9220
|
Provenance
The following attestation bundles were made for qb_ptmap-1.0.1.tar.gz:
Publisher:
python-publish.yml on SimoneFelici/qb-ptmap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qb_ptmap-1.0.1.tar.gz -
Subject digest:
c114164a8716e928c60c1d1966c0628d6ce77f6fd88e0669b234599065e6700b - Sigstore transparency entry: 398102065
- Sigstore integration time:
-
Permalink:
SimoneFelici/qb-ptmap@fb714ebc4a98537e65617ff872ec94d0560c166e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/SimoneFelici
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fb714ebc4a98537e65617ff872ec94d0560c166e -
Trigger Event:
release
-
Statement type:
File details
Details for the file qb_ptmap-1.0.1-py3-none-any.whl.
File metadata
- Download URL: qb_ptmap-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7246b168ebcaab169b1bbc5538c165bbe0571f4c63c6514af4553dd8175b0408
|
|
| MD5 |
557dbf2c9ad17547ed87db7503254994
|
|
| BLAKE2b-256 |
2b79f701fce18a10d778f73e5ea292f93615de0f0b040842ab1ff66d4061a908
|
Provenance
The following attestation bundles were made for qb_ptmap-1.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on SimoneFelici/qb-ptmap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qb_ptmap-1.0.1-py3-none-any.whl -
Subject digest:
7246b168ebcaab169b1bbc5538c165bbe0571f4c63c6514af4553dd8175b0408 - Sigstore transparency entry: 398102068
- Sigstore integration time:
-
Permalink:
SimoneFelici/qb-ptmap@fb714ebc4a98537e65617ff872ec94d0560c166e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/SimoneFelici
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fb714ebc4a98537e65617ff872ec94d0560c166e -
Trigger Event:
release
-
Statement type: