Skip to content

A simple script pack for installing and running WireGuard on Ubuntu servers. Supports streamlined peer creation.

Notifications You must be signed in to change notification settings

saeidscorp/wg-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How To Use

  1. Install git on the server:
$ sudo apt update
$ sudo apt install -y git
  1. Clone this repo:
$ git clone https://github.com/saeidscorp/wg-setup.git
  1. Run the damn script!
$ cd wg-setup
$ ./wg-setup.sh
  1. Use wg-manage to create peers:
$ wg-manage add_peer john phone linux

​ This will create a config file named john-phone.conf in the current directory.

  1. Transfer the config to the device to use however you like. You can also use QR codes [optional]:
$ sudo apt install -y qrencode
$ qrencode -t ansiutf8 < john-phone.conf
  1. Connect and enjoy!

About

A simple script pack for installing and running WireGuard on Ubuntu servers. Supports streamlined peer creation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages