Compare commits

...

10 Commits

Author SHA1 Message Date
hsand 73c2a2d036
Merge pull request #9 from konytech/konytech-patch-1
4 years ago
KonyTech c4255d8e35
Update README.md
4 years ago
hsand 3ab54603c2
Merge pull request #7 from JSaterdalen/master
4 years ago
Josh Saterdalen 3927bdb547
bump requests to 2.26.0
4 years ago
hsand fe03e1129e
Merge pull request #5 from michaelmagan/fix-requirements
4 years ago
hsand ce2b5fb234
Merge pull request #4 from michaelmagan/gitignore
4 years ago
Michael Magan 7d72089d88 Fixed urllib dependency conflict.
4 years ago
Michael Magan 523e15e74a added gitignore
4 years ago
hsand 340fe95493
Update requirements.txt
5 years ago
hsand 25efef5650
Update README.md
5 years ago

4
.gitignore vendored

@ -0,0 +1,4 @@
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
venv\Scripts\activate
pip install -r requirements.txt
generate-config.py
python generate-config.py
```
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)
Install dependencies, clone pia-wg project, and create a virual Python environment:
```
sudo apt install git python3-venv wireguard
sudo apt install git python3-venv wireguard openresolv
git clone https://github.com/hsand/pia-wg.git
cd pia-wg
python3 -m venv venv
@ -36,11 +36,6 @@ source venv/bin/activate
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
```
python3 generate-config.py

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

Loading…
Cancel
Save