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