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