Skip to content

vertelab/wireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard

Install

bash <(curl -sSL https://raw.githubusercontent.com/vertelab/wireguard/refs/heads/main/wg_client_setup.sh) -u [username to ssh as]

If you installed the script on a desktop client before it had code for persistence.

Run the code below.

sudo nmcli connection import type wireguard file /etc/wireguard/wg1.conf
sudo nmcli connection up wg1

PS check the name of the config file in /etc/wireguard to see if its wg1 or wg0.

You will now be able to toggle the VPN on/off in the network settings.

Same as above but for servers.

sudo systemctl enable wg-quick@wg1
sudo systemctl start wg-quick@wg1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages