Skip to main content

fhs_wireguard_namespace

Create a namespace with a wireguard interface for connectivity, wireguard interface is created in the current namespace and moved to the requested namespace, so the vpn uses the current namespace for connectivity to the vpn server.

Usage

fhs-wireguard-namespace wgquick-up-in-ns wg5 wgnamespace

This brings up wireguard interface wg5 using /etc/wireguard/wg5.conf

Installation

python -m venv wg-venv
source wg-venv/bin/activate

git clone https://github.com/foxhunt72/fhs-wireguard-namespace.git
cd fhs-wireguard-namespace
pip install .

Requirements

  • /usr/bin/ip

  • wireguard

  • wireguard-tools

Compatibility

Linux only

Licence

MIT Licence

Authors

fhs-wireguard-namespace was written by Richard de Vos.

Metadata

Release files for fhs-wireguard-namespace 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fhs-wireguard-namespace 0.1.0
File Size Uploaded Provenance Actions
fhs-wireguard-namespace-0.1.0.tar.gz 9.0 kB Without provenance Details for fhs-wireguard-namespace-0.1.0.tar.gz

Release files / fhs-wireguard-namespace-0.1.0.tar.gz

Download URL fhs-wireguard-namespace-0.1.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
856a508fd63a3def0ad0622726cc9efb110ec4f53fa003a4c51aa31f2b0ce033
BLAKE2b-256 checksum
How to use checksums
6578adfd57f5b50f920871ddfcd56694b3bcf7c16d4e73f985baf51d12980ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.10.2

Security for fhs-wireguard-namespace 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page