Compare commits

..

No commits in common. '73c2a2d036c4aa1f6bd2e6b13572dc0b68c86176' and '56441fb02f2792c2d87f3007be724fb91e2b04e8' have entirely different histories.

4
.gitignore vendored

@ -1,4 +0,0 @@
venv/
__pycache__/
PIA-*

@ -18,7 +18,7 @@ Open a command prompt and navigate to the directory where you placed the pia-wg
python -m venv venv python -m venv venv
venv\Scripts\activate venv\Scripts\activate
pip install -r requirements.txt pip install -r requirements.txt
python generate-config.py generate-config.py
``` ```
Follow the prompts. When finished, you can exit the virtual environment with the `deactivate` command. Follow the prompts. When finished, you can exit the virtual environment with the `deactivate` command.
@ -28,7 +28,7 @@ The script should generate a `.conf` file that can be imported into the WireGuar
## Linux (Debian/Ubuntu) ## Linux (Debian/Ubuntu)
Install dependencies, clone pia-wg project, and create a virual Python environment: Install dependencies, clone pia-wg project, and create a virual Python environment:
``` ```
sudo apt install git python3-venv wireguard openresolv sudo apt install git python3-venv wireguard
git clone https://github.com/hsand/pia-wg.git git clone https://github.com/hsand/pia-wg.git
cd pia-wg cd pia-wg
python3 -m venv venv python3 -m venv venv
@ -36,6 +36,11 @@ source venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
``` ```
Fix [bug](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939904) with wg-quick
```
sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
```
Run the tool, and follow the prompts Run the tool, and follow the prompts
``` ```
python3 generate-config.py python3 generate-config.py

@ -1,7 +1,4 @@
certifi==2021.5.30
chardet==3.0.4
idna==2.10
pick==1.0.0 pick==1.0.0
requests==2.26.0 requests==2.24.0
requests-toolbelt==0.9.1 requests-toolbelt==0.9.1
urllib3==1.26.6 urllib3==1.25.11

Loading…
Cancel
Save