Skip to content

A script which can help with generating config files for wireguard

License

Notifications You must be signed in to change notification settings

OlJohnny/wireguard-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

wireguard-setup

Simple script that helps with the generation of configs and keys for peers in an existing wireguard installation.

This script needs to be run on the wireguard server as root.

Installation

Get this script via:

sudo wget https://raw.githubusercontent.com/OlJohnny/wireguard-setup/master/wireguard-setup.sh -O ./wireguard-setup.sh | sudo chmod +x ./wireguard-setup.sh

Usage

  • Execure script on server
  • Copy & Paste generated config (output in terminal) to the client
  • Execute the following commands on the client:
    • sudo chmod -Rf 770 /etc/wireguard Config Readability limited to root
    • sudo systemctl enable wg-quick@wg0 Enable Wireguard Tunnel at system startup

About

A script which can help with generating config files for wireguard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages