Fix sample configuration to show keys in PEM format and correct tapdevice.
[oweals/tinc.git] / doc / sample-config / hosts / beta
index 9e357b2244e083f1a0e02408e7181d547d2bba5a..6f70d4f7df9ac88f12904ac34cb8dc1f26376fdd 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-----