1CJDROUTE(1) CJDROUTE(1)
2
3
4
6 cjdroute -- Cjdns packet switch
7
9 /usr/sbin/cjdroute [<options>...]
10
12 Cjdns implements an encrypted IPv6 network using public-key cryptogra‐
13 phy for address allocation and a distributed hash table for routing.
14 This provides near-zero-configuration networking, and prevents many of
15 the security and scalability issues that plague existing networks.
16
17 cjdroute runs in the background and either decrypts packets addressed
18 to this node, or sends them on to the next node in the route.
19
21 · --help: Print usage summary.
22
23 · --genconf [--no-eth]: Generate a configuration file, write it to
24 stdout. If --no-eth is specified then ethernet beaconing will be
25 disabled.
26
27 · --bench: Run some cryptography performance benchmarks.
28
29 · --version:
30 Print cjdroute version and the protocol version which this node
31 speaks.
32
33 · --cleanconf < conf: Print a clean (valid json) version of the con‐
34 fig.
35
36 · --nobg
37 Never fork to the background no matter the config.
38
39
40
42 To get the router up and running:
43
44 · Step 1: Generate a new configuration file if one doesn´t already
45 exist.
46
47 cjdroute --genconf > /etc/cjdroute.conf
48
49 You can also simply:
50
51 systemctl start cjdns
52
53 which will tell cjdroute to generate a new config if needed.
54
55 · Step 2: Find somebody to connect to. Check out the IRC channel or
56 https://hyperboria.net/ for information about how to meet new peo‐
57 ple and make connect to them. Read more here:
58 https://github.com/cjdelisle/cjdns/#2-find-a-friend
59
60 By default, cjdroute will find any cjdns nodes on your local LAN
61 without any configuration.
62
63 · Step 3: Add that somebody´s node to your cjdroute.conf file.
64 https://github.com/cjdelisle/cjdns/#3-con‐
65 nect-your-node-to-your-friends-node
66
67 · Step 4: Fire it up!
68
69 systemctl start cjdns
70
71 Or if you had already started cjdns:
72
73 systemctl restart cjdns
74
75
76
77 For more information about other functions and non-standard setups, see
78 README.md
79
80
81
82 September 2019 CJDROUTE(1)