An open API service indexing awesome lists of open source software.

https://github.com/oetiker/wg-adduser

Wireguard Add User Script
https://github.com/oetiker/wg-adduser

vpn wireguard wireguard-vpn-setup

Last synced: 6 months ago
JSON representation

Wireguard Add User Script

Awesome Lists containing this project

README

        

# Wireguard account creation script

Now that everyone is doing home office, a no nonesense VPN system is super
helpful. Wireguard fits the bill perfectly for many of our customers.

To simplify account creation I have created a little perlscript. Here some
instructions to get everything going on an ubuntu system

## Setup Wireguard

1. install the wireguard module

```console
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt update
$ sudo apt install wireguard qrencode perl curl mutt firehol
```

2. setup a configuration file for your wireguard interface `wg0`

```console
# cd /etc/wireguard
# chmod 700 .
# wget https://github.com/oetiker/wg-adduser/archive/master.zip
# unzip master.zip
# mv wg-adduser/* .
# rmdir wg-adduser
# cat <