https://github.com/phdenzel/wireguard-install
https://github.com/phdenzel/wireguard-install
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phdenzel/wireguard-install
- Owner: phdenzel
- Created: 2022-05-24T20:33:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T13:55:43.000Z (about 4 years ago)
- Last Synced: 2025-02-26T06:34:51.988Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+AUTHOR: phdenzel
#+TITLE: wireguard-install
#+DATE: 2022-05-24 Tue
#+OPTIONS: author:nil title:t date:nil timestamp:nil toc:nil num:nil \n:nil
This is yet another wireguard install script for linux. During the
process of installing wireguard on my own server, I've written down
the individual steps. When I was finished, I was left with a working
(and tested) install script, so there you go...
** Usage
The Makefile is here For ease of use. Simply type
#+begin_src shell
make install
#+end_src
to set up a server and client configuration interactively. For
multiple clients simply repeat the command as many times as you have
clients and choose different client names each time.
For a local install, use
#+begin_src shell
make dirs
sudo WG_INSTALL_PREFIX="$(uname -n)/etc" bash wireguard-install
#+end_src
Once you're happy with the local configuration, install it with
#+begin_src shell
make push
#+end_src