An interactive command line tool to help you bring wireguard connections up and down.
$ git clone https://git.sr.ht/~voidraven/wgh $ cd wgh $ sudo make install # to uninstall $ sudo make uninstall
$ 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
-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
-l flag simply prevents that file from being modified while your tunnel is up.
This project is licensed under the ISC license. (See LICENSE.md)