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
- Host: GitHub
- URL: https://github.com/oetiker/wg-adduser
- Owner: oetiker
- Created: 2020-03-20T09:24:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T12:58:43.000Z (over 4 years ago)
- Last Synced: 2024-10-24T06:29:09.726Z (7 months ago)
- Topics: vpn, wireguard, wireguard-vpn-setup
- Language: Perl
- Size: 8.79 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 <