.. -*- coding: utf-8; indent-tabs-mode: nil; -*-

fwireguard
==========

Synopsis
--------

**service fwireguard** [ **start** | **stop** | **reload** | **status** ]


Description
-----------

An :file:`rc.d` script to manage and configure Wireguard interfaces.


Configuration Variables
~~~~~~~~~~~~~~~~~~~~~~~

`fwireguard_enable`
  Default: NO

`fwireguard_wait`
  Sleep the given amount of time between configuring the interface and
  calling the post-start script.
  Default: 2s

`fwireguard_configdir`
  Default: /usr/local/etc/fwireguard

`fwireguard_interfaces`
  The list of names of the Wireguard interfaces to configure.

  Default: AUTO  -- i.e. determine the Wireguard interfaces automatically by
  calling :command:`ifconfig -g wg`.


Files
-----

- :file:`/usr/local/etc/fwireguard`

    Default-directory where all the configuration files for all wireguard
    interfaces are looked up.


See also
--------

:manpage:`wg(8)`, :manpage:`rc.conf(5)`
