Skip to content

ThourayaBchir/wireguard-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Description

Scripts to configure a wireguard vpn server (Ubuntu 22.04) and to generate the config for the clients.

1- Run the first script in the server

sudo chmod +x create_wg_server_conf.sh
sudo ./create_wg_server_conf.sh

This will generate the /etc/wireguard/wg0.conf.

2- Run the second script to generate client-wg0.conf to use to configure the client machine.

sudo chmod +x add_wg_client.sh
sudo ./add_wg_client.sh

This will:

* generate `client-wg0.conf` that can be used to configure a client machine.
* update the `/etc/wireguard/wg0.conf` of the wg server.

About

configure wg in Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages