chiark / gitweb /
config: better examples/docs (update to how things are now)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 15:13:27 +0000 (16:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 15:13:27 +0000 (16:13 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README.config
sgo-demo.cfg
simple.cfg

index 04d94ca..9c0e4fe 100644 (file)
@@ -4,7 +4,7 @@ Sections
 
   [<servername> - <client>]
   [<client>]
-  [<servername>]      usually [SERVER]
+  [<servername>]      often [SERVER]
   [DEFAULT]
 
 Keys are looked up in that order, unless otherwise specified.
index e7d369f..7dca241 100644 (file)
@@ -1,19 +1,18 @@
-# -- in  servers.d/chiark
+# -- in  config.d/chiark
 [chiark]
-network
-server
-relay
+vnetwork
+vaddr
+vrelay
 addrs
 # port
 # mtu
 # limits
 
-# -- in  servers.d/davenant
+# -- in  config.d/davenant
 [davenant]
-network
-server
-relay
-addrs
+vnetwork
+vaddr
+vrelay
 addrs
 # port
 # mtu
index 854f20e..3348e8e 100644 (file)
@@ -1,5 +1,7 @@
+# -- in  master.cfg (on both client and server)
 [SERVER]
 addrs = 203.0.113.46
 
+# -- in  passwords.d/password (on both client and server)
 [172.24.230.195]
 password = sesame