~voidraven/wgh

A wireguard CLI helper tool
updated makefile
Updated build file to remove deprecated option
updated lock message to be in a more consistent style

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~voidraven/wgh
read/write
git@git.sr.ht:~voidraven/wgh

You can also use your local clone with git send-email.

#wgh

License builds.sr.ht status

WireGuard Helper

An interactive command line tool to help you bring wireguard connections up and down.

#Dependencies

#Installation

Simply run:

$ git clone https://git.sr.ht/~voidraven/wgh
$ cd wgh
$ sudo make install

# to uninstall
$ sudo make uninstall

#Usage

$ wgh                             # start wgh in interactive mode
$ wgh -l                          # lock or unlock /etc/resolv.conf
$ wgh -s                          # show the connection status info
$ wgh -h                          # shows this help message
$ wgh -v                          # show the version info

#Video Example

asciicast

#Notes

The -l flag exists to address a bug I found on Void Linux where I was leaking DNS requests. NetworkManager can periodically overwrite the value in /etc/resolv.conf. The -l flag simply prevents that file from being modified while your tunnel is up.

#TODO

  • test debian / freebsd / openbsd
  • test cleanup
  • -u and -d flags (up,down .conf)
  • blink1 integration

#License / Disclaimer

This project is licensed under the ISC license. (See LICENSE.md)