Explorar o código

docs: mention fastd_mesh_vpn.enabled setting

Matthias Schiffer %!s(int64=9) %!d(string=hai) anos
pai
achega
548c70d170
Modificáronse 2 ficheiros con 5 adicións e 1 borrados
  1. 1 0
      docs/site-example/site.conf
  2. 4 1
      docs/user/site.rst

+ 1 - 0
docs/site-example/site.conf

@@ -89,6 +89,7 @@
   fastd_mesh_vpn = {
     -- List of crypto-methods to use.
     methods = {'salsa2012+umac'},
+    -- enabled = true,
     -- configurable = true,
 
     mtu = 1426,

+ 4 - 1
docs/user/site.rst

@@ -99,7 +99,9 @@ next_node : package
 fastd_mesh_vpn
     Remote server setup for the fastd-based mesh VPN.
 
-    If `configurable` is false or unset, the method list will be replaced on updates
+    The `enabled` option can be set to true to enable the VPN by default.
+
+    If `configurable` is `false` or unset, the method list will be replaced on updates
     with the list in the site configuration. Setting `configurable` to `true` will allow the user to
     add the method ``null`` to the front of the method list or remove ``null`` from it,
     and make this change survive updates. Settings configurable is necessary for the
@@ -112,6 +114,7 @@ fastd_mesh_vpn
 
       fastd_mesh_vpn = {
         methods = {'salsa2012+umac'},
+	-- enabled = true,
 	-- configurable = true,
         mtu = 1426,
         groups = {