BSD Ports

net/cjdns 22.3 DragonFly

Routing engine designed for security, scalability, speed

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
net, security
Package size
1967.7 KiB, 8234.2 KiB installed

Description

Cjdns implements an encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing. This provides near-zero-configuration networking, and prevents many of the security and scalability issues that plague existing networks.

In the other systems

The newest version among them is 22.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet/cjdns22.3 newestnone known-[email protected]-
FreeBSDnet/cjdns22.3_1 newestnone known-[email protected]2026-10-14
HardenedBSDnet/cjdns22.3_1 newestno data-[email protected]-
GhostBSDnet/cjdns22.3_1 newestno data-[email protected]-

Version history 1

  1. 22.3

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install cjdns

From DPorts:

cd /usr/dports/net/cjdns && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

You installed CJDNS: IPv6 routing engine

It is recommended to run CJDNS as a service:
# sysrc cjdns_enable="YES"
# service cjdns start

When started the first time, CJDNS will create the config file
/usr/local/etc/cjdroute.conf that you should edit to make CJDNS connected:
* You may want to add some nodes to connect to the section "connectTo"
  from some of these sites:
  * https://pad.meshwith.me/p/public
  * http://cjdns.me/
  * https://github.com/hyperboria/peers
* You may want to uncomment "tunDevice" to make CJDNS always use the same
  tun device.

In order to be able to open IPv6 websites available through CJDNS network
that you connect to, you need to add the IPv6 default route:
# route -6 add default fc00::1

In order to create an IPv4 or IPv6 VPN, on the server in the section
ipTunnel/allowedConnections of the config file you need to add the public
keys of the clients, and to define the VPN network. On the clients you
only need to add the public key of the server in the section
ipTunnel/outgoingConnections. You may also need to bridge the tunN
interface on the server to connect the segments of the VPN network.

Here are some websites on the CJDNS Hyperboria network:
* http://socialno.de/ - social network
* https://rows.io/ - Jabber server
* http://forum.meshbits.io/ - forums
* http://h.fc00.org/ - network map

Warning: When the CJDNS daemon is connected to an outside network, tunN
interface will generally directly expose your computer to that network,
bypassing the regular firewall that you normally use.