Skip to content

j4ys0n/wireguard-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard Setup

This repo contains a script to install and configure a WireGuard server on Linux. Currently tailored to Ubuntu or Debian. Along with WireGuard, the script sets up UFW. UFW is then configured to allow SSH and WireGuard by default. The install script should be run as root. This can be accomplished easily by dropping into a root shell session with sudo -s - just remember to exit when you're done.

There is also a script to assist with installing the client on a Mac.

Usage

./install-wg-host.sh [host ip] [client ip] [dns ip]

Note [host ip] and [client ip] are new IPs and should not be in use anywhere else on your network.

example

./install-wg-host.sh 192.168.10.1 192.168.10.2 192.168.1.1

About

bash scripts to install and setup wireguard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages