48 lines
1,019 B
Text
48 lines
1,019 B
Text
|
interfaces-wireguard(5)
|
||
|
|
||
|
# NAME
|
||
|
|
||
|
*interfaces-wireguard* - Wireguard extensions for the interfaces(5) file format
|
||
|
|
||
|
# DESCRIPTION
|
||
|
|
||
|
Wireguard is a comtemporary in-Kernel layer 3 VPN protocol implementation
|
||
|
which aims to provide fast and secure tunnels. The following options
|
||
|
allow to set up Wireguard VPN tunnels.
|
||
|
|
||
|
# WIREGUARD-RELATED OPTIONS
|
||
|
|
||
|
*wireguard-config-path* _path_
|
||
|
Denotes the absolute _path_ to the Wireguard configuration file.
|
||
|
If no path is given, _/etc/wireguard/<interface>.conf_ will be
|
||
|
used. In the latter case _use wireguard_ has to be explicitly
|
||
|
set to the interface configuration.
|
||
|
|
||
|
# EXAMPLES
|
||
|
|
||
|
A Wireguard VPN tunnel with explicit configuration file specified
|
||
|
|
||
|
```
|
||
|
auto wg-foo
|
||
|
iface wg-foo
|
||
|
wireguard-config-path /etc/wireguard/foo.conf
|
||
|
#
|
||
|
address 192.0.2.23/42
|
||
|
address 2001:db8::23/64
|
||
|
```
|
||
|
|
||
|
A Wireguard VPN tunnel with implicit configuration file:
|
||
|
|
||
|
```
|
||
|
auto wg-bar
|
||
|
iface wg-bar
|
||
|
use wireguard
|
||
|
#
|
||
|
address 192.0.2.23/42
|
||
|
address 2001:db8::23/64
|
||
|
```
|
||
|
|
||
|
# AUTHORS
|
||
|
|
||
|
Maximilian Wilhelm <max@sdn.clinic>
|