Advertisement
thefinn93

Untitled

Jan 23rd, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. // Private key:
  3. // This key corrisponds to the public key: 0tb0qumw3h5dsw8wmdjlv0x632gp6k9lprmt5g7yx8dn18ctf630.k
  4. // And the ipv6 address: fc2a:a7b2:070c:2631:bfe4:0d83:cd93:bfe0
  5. // Your confidentiality and data integrity depend on this key, keep it secret!
  6. //
  7. "privateKey": "-----------------",
  8.  
  9. // Anyone connecting and offering these passwords on connection will be allowed.
  10. //
  11. // WARNING: Currently there is no key derivation done on the password field,
  12. // DO NOT USE A PASSWORD HERE use something which is truely random and
  13. // cannot be guessed.
  14. // Including a username in the beginning of the password string is encouraged
  15. // to aid in remembering which users are who.
  16. //
  17. "authorizedPasswords": [
  18. {
  19. // A unique string which is known to the client and server.
  20. "password": "-------------",
  21.  
  22. // the authentication type, currently only 1 is supported.
  23. "authType": 1,
  24.  
  25. // How much anti-flood trust to give a client
  26. // who connects with this password.
  27. "trust": 5000
  28. },
  29. ],
  30.  
  31. // Interfaces to connect to the switch core.
  32. "interfaces":
  33. {
  34. // The interface which connects over UDP/IP based VPN tunnel.
  35. "UDPInterface":
  36. {
  37. // Bind to this port.
  38. "bind": "0.0.0.0:10002",
  39.  
  40. // Nodes to connect to.
  41. "connectTo":
  42. {
  43. //NODE F50c
  44. "173.255.219.67:10000":
  45. {
  46. "password": "null",
  47. "authType": 1,
  48. "publicKey": "lj52930v1vmg3jqyb399us501svntt499bvgk0c1fud4pmy42gj0.k",
  49. "trust": 9000
  50. }
  51. }
  52. }
  53. },
  54.  
  55. // Configuration for the router.
  56. "router":
  57. {
  58. // The interface which is used for connecting to the cjdns network.
  59. "interface":
  60. {
  61. // The type of interface (only TUNInterface is supported for now)
  62. "type": "TUNInterface",
  63.  
  64. // The name of the TUN device to use.
  65. // This allows you to create a persistent TUN device with the cjdns user
  66. // authorized to use it so that cjdns does not need to run as root.
  67. // If this is commented out, cjdns will try to allocate a TUN on startup.
  68. // If it can't do that (because it's not root?) then it will run as a
  69. // pure router, unable to send or receive traffic.
  70. "tunDevice": "tun0"
  71. }
  72. },
  73.  
  74. "resetAfterInactivitySeconds": 20,
  75.  
  76. // Version of the config file, used internally for migration.
  77. "version": 0
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement