Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- // Private key:
- // This key corrisponds to the public key: 0tb0qumw3h5dsw8wmdjlv0x632gp6k9lprmt5g7yx8dn18ctf630.k
- // And the ipv6 address: fc2a:a7b2:070c:2631:bfe4:0d83:cd93:bfe0
- // Your confidentiality and data integrity depend on this key, keep it secret!
- //
- "privateKey": "-----------------",
- // Anyone connecting and offering these passwords on connection will be allowed.
- //
- // WARNING: Currently there is no key derivation done on the password field,
- // DO NOT USE A PASSWORD HERE use something which is truely random and
- // cannot be guessed.
- // Including a username in the beginning of the password string is encouraged
- // to aid in remembering which users are who.
- //
- "authorizedPasswords": [
- {
- // A unique string which is known to the client and server.
- "password": "-------------",
- // the authentication type, currently only 1 is supported.
- "authType": 1,
- // How much anti-flood trust to give a client
- // who connects with this password.
- "trust": 5000
- },
- ],
- // Interfaces to connect to the switch core.
- "interfaces":
- {
- // The interface which connects over UDP/IP based VPN tunnel.
- "UDPInterface":
- {
- // Bind to this port.
- "bind": "0.0.0.0:10002",
- // Nodes to connect to.
- "connectTo":
- {
- //NODE F50c
- "173.255.219.67:10000":
- {
- "password": "null",
- "authType": 1,
- "publicKey": "lj52930v1vmg3jqyb399us501svntt499bvgk0c1fud4pmy42gj0.k",
- "trust": 9000
- }
- }
- }
- },
- // Configuration for the router.
- "router":
- {
- // The interface which is used for connecting to the cjdns network.
- "interface":
- {
- // The type of interface (only TUNInterface is supported for now)
- "type": "TUNInterface",
- // The name of the TUN device to use.
- // This allows you to create a persistent TUN device with the cjdns user
- // authorized to use it so that cjdns does not need to run as root.
- // If this is commented out, cjdns will try to allocate a TUN on startup.
- // If it can't do that (because it's not root?) then it will run as a
- // pure router, unable to send or receive traffic.
- "tunDevice": "tun0"
- }
- },
- "resetAfterInactivitySeconds": 20,
- // Version of the config file, used internally for migration.
- "version": 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement