Version changes before going to master
This commit is contained in:
parent
d14eafe578
commit
85841e45cc
@ -185,8 +185,10 @@ These settings are optional, and are already defaulted to general network common
|
||||
|
||||
#### Wireguard options
|
||||
|
||||
Keep in mind that Wireguard is presently an auxilliary satellite connection point. Because of this, you shouldn't re-use any IP addresses related to WG.
|
||||
Keep in mind that Wireguard is presently an auxilliary satellite connection point. Because of this, you shouldn't re-use any IP addresses related to WG. Consider planning a piece (/32, see `wg_prefix`) of your network (i.e. 172.31.y.z) where `y` is your first network number, i.e. `8` or `16` and `z` is an unused address and setting that to `wg_address`.
|
||||
|
||||
* `wg_key`: The private key to use for the Wireguard peering point
|
||||
* `wg_address`: The address to assign to Wireguard, should be unique.
|
||||
* `wg_enabled`: Set to 1 to enable WireGuard. Defaults to 0/disabled.
|
||||
* `wg_key`: Required. The private key to use for the Wireguard peering point.
|
||||
* `wg_address`: Required. The address to assign to the Wireguard interface. Should be unique.
|
||||
* `wg_prefix`: The prefix to assign to Wireguard, defaults to 32.
|
||||
* `wg_port`: Port for WireGuard to listen to connections on (UDP). Defaults to 51820.
|
||||
|
8
wireguard/wg0.conf
Normal file
8
wireguard/wg0.conf
Normal file
@ -0,0 +1,8 @@
|
||||
[Interface]
|
||||
PrivateKey = ${wg_key}
|
||||
Address = ${wg_address}/${wg_prefix:-32}
|
||||
|
||||
{{ range files "wireguard/peers" }} {{ if ne . "${tinc_peer_name}" }}
|
||||
[Peer]
|
||||
{{ include (print "wireguard/peers" .) }}
|
||||
{{ end }}{{ end }}
|
Loading…
x
Reference in New Issue
Block a user