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.
fhs-wireguard-namespace wgquick-up-in-ns wg5 wgnamespace
This brings up wireguard interface wg5 using /etc/wireguard/wg5.conf
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 .
- /usr/bin/ip
- wireguard
- wireguard-tools
- flake8
- pytest
- coverage
- more docs
Linux only
MIT Licence
fhs-wireguard-namespace was written by Richard de Vos.