2021-03-15 11:03:49 -07:00
# vpn-stack
2021-01-25 15:37:53 -08:00
A set of bash scripts for installing and managing a WireGuard VPN server.
## Download & Install
Start with basic Ubuntu 20.04 install with no extra services or packages installed.
```bash
cd /usr/local/src/
2022-07-14 13:27:17 -07:00
wget https://git.stack-source.com/msb/vpn-stack/archive/master.tar.gz
2021-01-25 15:37:53 -08:00
tar zxvf master.tar.gz
2022-07-14 13:27:17 -07:00
cd vpn-stack
bash install.sh
2021-01-25 15:37:53 -08:00
```
## Configure Clients
Download and install client software from [wireguard.com ](https://www.wireguard.com/install/ ).
2021-01-25 16:06:01 -08:00
Add a client configuration to the server and display a qr code that can be scanned by a client.
2021-01-25 15:37:53 -08:00
```bash
wg-client-add.sh username [device]
wg-client-qr-display.sh username [device]
```
2022-07-14 13:27:17 -07:00
If the device option is left off then a "default" device will be added for that client/username.\
2021-01-25 15:37:53 -08:00
For example, to add a client config for a user named joe and display the qr code on the console screen run:
```bash
wg-client-add.sh joe
wg-client-qr-display.sh joe
```
2022-07-14 12:35:44 -07:00
## Todo
2021-01-25 15:37:53 -08:00
Complete documentation that describes in detail the configuration of the WireGuard server coming next. In the meantime review the comments in wg-install.sh to see details.
2022-07-14 12:35:44 -07:00
## License
2022-07-14 12:43:09 -07:00
Copyright (c) 2022 Matthew Saunders Brown < matthewsaundersbrown @ gmail . com > \
2022-07-14 12:35:44 -07:00
GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)