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

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


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.0.tar.gz (2.3 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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for qb_ptmap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3e178b23bb9eeea1e30aeba44e76ea802ba9388d59440d4fed301f3a5e3c046
MD5 40b1bfb0e68d28681b4e6d07a37a880c
BLAKE2b-256 7372083c13238930ab007623c40c7bb426d01b6af04d584e99b8f350d03bfb3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for qb_ptmap-0.1.0.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.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

Hashes for qb_ptmap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2154f01fd9b3142b4ad1f1aa6abddaaa37ef732358837b5abf57e9eb5010720f
MD5 a3f590d17b3943a84d67472146a73621
BLAKE2b-256 e687c04e7aced365b25abe3a2929b053597a4cd058ca2400e57440c385aedb54

See more details on using hashes here.

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

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