Compare commits

..
10 Commits
Author SHA1 Message Date
hsandandGitHub 73c2a2d036 Merge pull request #9 from konytech/konytech-patch-1
Update README.md
2022-03-24 14:22:03 +01:00
KonyTechandGitHub c4255d8e35 Update README.md 2021-12-23 09:52:58 -05:00
hsandandGitHub 3ab54603c2 Merge pull request #7 from JSaterdalen/master
fix requests dependency conflict with urllib3
2021-08-07 12:39:49 +02:00
Josh SaterdalenandGitHub 3927bdb547 bump requests to 2.26.0
fix dependency conflict with urllib3
2021-08-03 20:36:18 -05:00
hsandandGitHub fe03e1129e Merge pull request #5 from michaelmagan/fix-requirements
Fixed urllib dependency conflict.
2021-07-12 10:12:27 +02:00
hsandandGitHub ce2b5fb234 Merge pull request #4 from michaelmagan/gitignore
added gitignore
2021-07-12 10:12:16 +02:00
Michael Magan 7d72089d88 Fixed urllib dependency conflict. 2021-07-12 02:36:43 +00:00
Michael Magan 523e15e74a added gitignore 2021-07-12 02:26:19 +00:00
hsandandGitHub 340fe95493 Update requirements.txt 2021-06-29 09:23:40 +02:00
hsandandGitHub 25efef5650 Update README.md
Use openresolv instead of symlink
2021-01-05 13:18:00 +01:00
3 changed files with 11 additions and 9 deletions
+4
View File
@@ -0,0 +1,4 @@
venv/
__pycache__/
PIA-*
+2 -7
View File
@@ -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
+5 -2
View File
@@ -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