X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fexample.texi;fp=doc%2Fexample.texi;h=f4f80f4bafebaf3bb22ab21a241252f15f4872cc;hb=a5872551bfa75d7efde5a186c7ff2de2e3bb8449;hp=c2936a61414fb66484e3fd461f5d2c107f293355;hpb=867a8de03177abf0a5d678e6ce5cf0d0963ca207;p=govpn.git diff --git a/doc/example.texi b/doc/example.texi index c2936a6..f4f80f4 100644 --- a/doc/example.texi +++ b/doc/example.texi @@ -24,13 +24,12 @@ client% ./utils/newclient.sh Alice Enter passphrase: Your client verifier is: $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg -Place the following JSON configuration entry on the server's side: +Place the following YAML configuration entry on the server's side: - "Alice": { - "up": "/path/to/up.sh", - "iface": "or TAP interface name", - "verifier": "$argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10" - } + Alice: + up: /path/to/up.sh + iface: or TAP interface name + verifier: $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10 Verifier was generated with: @@ -38,16 +37,13 @@ Verifier was generated with: govpn-verifier -key /tmp/passphrase @end verbatim -@strong{Prepare the server}. Add this entry to @code{peers.json} +@strong{Prepare the server}. Add this entry to @code{peers.yaml} configuration file: @verbatim -{ - "Alice": { - "iface": "tap10", - "verifier": "$argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10" - } -} +Alice: + iface: tap10 + verifier: $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10 @end verbatim @strong{Prepare network on GNU/Linux IPv4 server}: