Skip to content
Scripts automate the installation and use of Wireguard on AWS with Ubuntu Server 18.04
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig initial commit Apr 17, 2019
.gitignore initial commit Apr 17, 2019
LICENSE initial commit Apr 17, 2019
README.md initial commit Apr 17, 2019
add-client.sh initial commit Apr 17, 2019
initial.sh initial commit Apr 17, 2019
install.sh initial commit Apr 17, 2019
remove.sh initial commit Apr 17, 2019
reset.sh initial commit Apr 17, 2019
wireguard-aws.code-workspace initial commit Apr 17, 2019

README.md

Install and use AWS-based Wireguard

Scripts automate the installation and use of Wireguard on AWS with Ubuntu Server 18.04

How use

Installation

git clone https://github.com/pprometey/wireguard_aws.git wireguard_aws
cd wireguard_aws
sudo ./initial.sh

The initial.sh script removes the previous Wireguard installation (if any) using the remove.sh script. It then installs and configures the Wireguard service using the install.sh script. And then creates a client using the add-client.sh script.

Add new customer

add-client.sh - Script to add a new VPN client. As a result of the execution, it creates a configuration file ($CLIENT_NAME.conf) on the path ./clients/$CLIENT_NAME/, displays a QR code with the configuration.

sudo ./add-client.sh
#OR
sudo ./add-client.sh $CLIENT_NAME

Reset customers

reset.sh - script that removes information about clients. And stopping the VPN server Winguard

sudo ./reset.sh

Delete Wireguard

sudo ./remove.sh

Authors

You can’t perform that action at this time.