Automatic port mapper for qBittorrent with the Proton WireGuard configuration
Project description
qb-ptmap
Automatic port mapper for qBittorrent with the Proton WireGuard configuration
Documentation work in progress
Prerequisites
Wireguard configuration
Generate a Wireguard configuration for Linux and be sure to enable "NAT-PMP (Port Forwarding)".
Install natpmpc
Debian:
apt install natpmpc
Arch Linux:
pacman -Sy libnatpmp
Install wireguard
Debian:
apt install wireguard
Arch Linux:
pacman -Sy wireguard-tools
Not mandatory but recommended
Install uv from the official source.
Installation
Clone the repository:
git clone git@github.com:SimoneFelici/qb-ptmap.git
Generate the environment:
cd qb-ptmap && uv sync
Usage
Move your wireguard configuration in /etc/wireguard/
Start wireguard with your proton config:
sudo wg-quick up proton
Enter the environment and run the script:
source .venv/bin/activate
python3 main.py
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-0.1.0.tar.gz.
File metadata
- Download URL: qb_ptmap-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3e178b23bb9eeea1e30aeba44e76ea802ba9388d59440d4fed301f3a5e3c046
|
|
| MD5 |
40b1bfb0e68d28681b4e6d07a37a880c
|
|
| BLAKE2b-256 |
7372083c13238930ab007623c40c7bb426d01b6af04d584e99b8f350d03bfb3d
|
Provenance
The following attestation bundles were made for qb_ptmap-0.1.0.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-0.1.0.tar.gz -
Subject digest:
f3e178b23bb9eeea1e30aeba44e76ea802ba9388d59440d4fed301f3a5e3c046 - Sigstore transparency entry: 394445383
- Sigstore integration time:
-
Permalink:
SimoneFelici/qb-ptmap@f84ca181c8dd7dc9c67730807d7bf6b25eaf1ba5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SimoneFelici
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f84ca181c8dd7dc9c67730807d7bf6b25eaf1ba5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qb_ptmap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qb_ptmap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 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 |
2154f01fd9b3142b4ad1f1aa6abddaaa37ef732358837b5abf57e9eb5010720f
|
|
| MD5 |
a3f590d17b3943a84d67472146a73621
|
|
| BLAKE2b-256 |
e687c04e7aced365b25abe3a2929b053597a4cd058ca2400e57440c385aedb54
|
Provenance
The following attestation bundles were made for qb_ptmap-0.1.0-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-0.1.0-py3-none-any.whl -
Subject digest:
2154f01fd9b3142b4ad1f1aa6abddaaa37ef732358837b5abf57e9eb5010720f - Sigstore transparency entry: 394445397
- Sigstore integration time:
-
Permalink:
SimoneFelici/qb-ptmap@f84ca181c8dd7dc9c67730807d7bf6b25eaf1ba5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SimoneFelici
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f84ca181c8dd7dc9c67730807d7bf6b25eaf1ba5 -
Trigger Event:
release
-
Statement type: