Cjdns
services.cjdns.ETHInterface.beacon
Auto-connect to other cjdns nodes on the same network. Options: 0: Disabled. 1: Accept beacons, this will cause cjdns to accept incoming beacon messages and try connecting to the sender. 2: Accept and send beacons, this will cause cjdns to broadcast messages on the local network which contain a randomly generated per-session password, other nodes which have this set to 1 or 2 will hear the beacon messages and connect automatically.
Type: signed integer
Default
2
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.bind
Bind to this device for native ethernet operation.
all
is a pseudo-name which will try to connect to all devices.
Type: string
Default
""
Example
"eth0"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo
Credentials for connecting look similar to UDP credientials except they begin with the mac address.
Type: attribute set of (submodule)
Default
{ }
Example
{"01:02:03:04:05:06" = {hostname = "homer.hype";password = "5kG15EfpdcKNX3f2GSQ0H1HC7yIfxoCoImnO5FHM";publicKey = "371zpkgs8ss387tmr81q04mp0hg1skb51hw34vk1cq644mjqhup0.k";};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo.<name>.hostname
Optional hostname to add to /etc/hosts; prevents reverse lookup failures.
Type: string
Default
""
Example
"foobar.hype"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo.<name>.login
(optional) name your peer has for you
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo.<name>.password
Authorized password to the opposite end of the tunnel.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo.<name>.peerName
(optional) human-readable name for peer
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.ETHInterface.connectTo.<name>.publicKey
Public key at the opposite end of the tunnel.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.bind
Address and port to bind UDP tunnels to.
Type: string
Default
""
Example
"192.168.1.32:43211"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo
Credentials for making UDP tunnels.
Type: attribute set of (submodule)
Default
{ }
Example
{"192.168.1.1:27313" = {hostname = "homer.hype";password = "5kG15EfpdcKNX3f2GSQ0H1HC7yIfxoCoImnO5FHM";publicKey = "371zpkgs8ss387tmr81q04mp0hg1skb51hw34vk1cq644mjqhup0.k";};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo.<name>.hostname
Optional hostname to add to /etc/hosts; prevents reverse lookup failures.
Type: string
Default
""
Example
"foobar.hype"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo.<name>.login
(optional) name your peer has for you
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo.<name>.password
Authorized password to the opposite end of the tunnel.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo.<name>.peerName
(optional) human-readable name for peer
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.UDPInterface.connectTo.<name>.publicKey
Public key at the opposite end of the tunnel.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.addExtraHosts
Whether to add cjdns peers with an associated hostname to
{file}/etc/hosts
. Beware that enabling this
incurs heavy eval-time costs.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.admin.bind
Bind the administration port to this address and port.
Type: string
Default
"127.0.0.1:11234"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.authorizedPasswords
Any remote cjdns nodes that offer these passwords on connection will be allowed to route through this node.
Type: list of string
Default
[ ]
Example
["snyrfgkqsc98qh1y4s5hbu0j57xw5s0""z9md3t4p45mfrjzdjurxn4wuj0d8swv""49275fut6tmzu354pq70sr5b95qq0vj"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.confFile
Ignore all other cjdns options and load configuration from this file.
Type: null or path
Default
null
Example
"/etc/cjdroute.conf"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.enable
Whether to enable the cjdns network encryption and routing engine. A file at /etc/cjdns.keys will be created if it does not exist to contain a random secret key that your IPv6 address will be derived from.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix
services.cjdns.extraConfig
Extra configuration, given as attrs, that will be merged recursively with the rest of the JSON generated by this module, at the root node.
Type: attribute set
Default
{ }
Example
{router = {interface = {tunDevice = "tun10";};};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/cjdns.nix