Skip to main content

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

qbittorrent

Install qbittorrent and make sure the webui is active and with working credentials.

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 https://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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qb_ptmap-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qb_ptmap-0.1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file qb_ptmap-0.1.1.tar.gz.

File metadata

  • Download URL: qb_ptmap-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qb_ptmap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d04ba8baac82d01024886ed946e0a98d6faeb87edb0eb18ed816efc708f0024f
MD5 624c56db2562896e4fb8c046972963db
BLAKE2b-256 a2a57bb84878666097810a4cce1c3352b8299393b8a9c892c1d17320803a81a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for qb_ptmap-0.1.1.tar.gz:

Publisher: python-publish.yml on SimoneFelici/qb-ptmap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qb_ptmap-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: qb_ptmap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qb_ptmap-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76845e8caf4e597355068a6afd62a6adc40d8f3c7539d5d18a8730054b34fc7e
MD5 4ed943013ce1f5230c8f72cbebea315d
BLAKE2b-256 254d875c2e5ce4523ea61b3e61f07f4ba7f2413e9169ffac738924618f75b928

See more details on using hashes here.

Provenance

The following attestation bundles were made for qb_ptmap-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on SimoneFelici/qb-ptmap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page