Skip to content

dreamsafari/wireguard-auto-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wireguard-auto-config

Automated setup and configure wireguard for Ubuntu 18.04 and above.

Tested on 19.04

Usage

  1. Installing Wireguard:

    Afther the script, you will see a QR code on the terminal. Use the Android/iOS app to scan the QR code to load the config. The client config file can also be found at /etc/wireguard/client0.conf

wget https://raw.githubusercontent.com/dreamsafari/wireguard-auto-config/master/createnew.sh && chmod +x createnew.sh
sudo ./createnew.sh
  1. Adding user/configs to existing installation

    Please be advised the script ONLY works if your installation is done using the scripts here. Afther the script, you will also see a QR code on the terminal. Use the Android/iOS app to scan the QR code to load the config. The client config file can also be found at /etc/wireguard/clientX.conf

wget https://raw.githubusercontent.com/dreamsafari/wireguard-auto-config/master/addclient.sh && chmod +x addclient.sh
sudo ./addclient.sh

Acknowledgements

Some of the code comes from: https://withdewhua.space/2018/11/10/wireguard/

About

Automated setup of wireguard configs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages