Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73c2a2d036 | ||
|
|
c4255d8e35 | ||
|
|
3ab54603c2 | ||
|
|
3927bdb547 | ||
|
|
fe03e1129e | ||
|
|
ce2b5fb234 | ||
|
|
7d72089d88 | ||
|
|
523e15e74a | ||
|
|
340fe95493 | ||
|
|
25efef5650 |
@@ -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
|
python -m venv venv
|
||||||
venv\Scripts\activate
|
venv\Scripts\activate
|
||||||
pip install -r requirements.txt
|
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.
|
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
|
sudo apt install git python3-venv wireguard openresolv
|
||||||
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,11 +36,6 @@ 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
|
||||||
|
|||||||
+5
-2
@@ -1,4 +1,7 @@
|
|||||||
|
certifi==2021.5.30
|
||||||
|
chardet==3.0.4
|
||||||
|
idna==2.10
|
||||||
pick==1.0.0
|
pick==1.0.0
|
||||||
requests==2.24.0
|
requests==2.26.0
|
||||||
requests-toolbelt==0.9.1
|
requests-toolbelt==0.9.1
|
||||||
urllib3==1.25.11
|
urllib3==1.26.6
|
||||||
|
|||||||
Reference in New Issue
Block a user