Fix sample configuration to show keys in PEM format and correct tapdevice.
[tinc] / doc / sample-config / hosts / alpha
index 95315e1..0f5e56a 100644 (file)
@@ -9,5 +9,7 @@ Port = 655
 # Subnet on the virtual private network that is local for this host.
 Subnet = 192.168.1.0/24
 
 # Subnet on the virtual private network that is local for this host.
 Subnet = 192.168.1.0/24
 
-# The file in which the public key for this host is stored. Required.
-PublicKeyFile = /etc/tinc/example/hosts/alpha.key
+# The public key generated by `tincd -n example -K' is stored here
+-----BEGIN RSA PUBLIC KEY-----
+...
+-----END RSA PUBLIC KEY-----