*	WireGuard VPN tunnels	*

** requirements
- kernel version 3.10+
- kernel-modules-wireguard-std-def
- kernel-modules-wireguard-un-def
- wireguard-tools

** master iface configuration

** iface/options
TYPE=wg
# port for wireguard tunnel
LISTENPORT=

** iface/ipv4address
in this file you must add local ip subnet and all local iface ip peers
example:
# local iface subnet
10.1.0.0/16
# local iface ip1 / remote iface ip1
10.1.0.1 10.2.0.1

** iface/peers
in this file you must add all the necessary options (only peers!) in accordance with the WG(8)
(one peer - one line)
example:
peer PUBLICPEERKEY allowed-ips IFACESSUBNET endpoint PUBLICIP:ALLOWPORT

** iface/privatekey
your local private key
you can genering private and public keys using wireguard:

$ umask 077
$ wg genkey > privatekey
$ wg pubkey < privatekey > publickey
