The DHT bootstrap server can be used as an introducer to the sectorrent
DHT network. Like the ones running at router.sectorrent.com.
SecTorrent clients can use this server to join the DHT, assuming some number of clients are agreeing on using the same server.
If you want to use the Rust version.
You will need to download the jar.
The code can be found here if you wish to build it yourself.
To run the node go to terminal and type
java -jar jbootstrap.jar
The command line options are:
usage: jbootstrap-dht <external-IP> [options]OPTIONS:--help prints this message.--nodes <n> sets the number of nodes to keep inthe node buffer. Once full, the oldestnodes are replaced as new nodes come in.--ping-queue <n> sets the max number of nodes to keep inthe ping queue. Nodes are held in the queuefor 15 minutes.--no-verify-id disable filtering nodes based on their node IDand external IP (allow any node in on thenode list to hand out).--ipv6 <ip> listen for IPv6 packets on the given addresscan be specified more than once--version <version> The client version to insert into all outgoingpackets. The version format must be 2 charactersfollowed by a dash and an integer.--dir <path> specify the directory where the node buckets arestored on disk. Defaults to ".".--port <listen-port> Sets the port to listen on (for all interfaces)defaults to 6881--x-pollinate <ip> <port>if the ping queue becomes too small, request morenodes from this DHT node.
To port forward here is a guide. However we have an option to use UPnP to also open the port for you.