Quick Start

The Quick Start section shows the complete steps to deploy and run a slightly modified Tinc VPN on D.Network platform. It creates a concrete instance based on the abstract DNet overlay network definition. The instance overlay network is a Layer 3 Virtual LAN.

For admins, please get familiar with the 7 steps workflow before continue.

Roles

There are three types of roles:

  • Network Admin (dnet-admin): admins use dnetcoin wallet's dnetcoin-cli commands to manage the dnet records, e.g creating a new dnet and add/delete member nodes, assigning ovc resources;
  • Cloud resource provider (ovc-provider): ovc is the cloud backend of the overlay network. The ovc resource admins use dnetcoin-cli commands to register ovc cloud resources into DNetDB and vlan-cli commands to add authorized dnet.
  • End user (end-user): end users run vlan-cli commands to initialize, start, join and connect to an overlay network.

Workflow

How it works

    1. Add a dnet record to generate a dnetID (dnet-admin);
    1. Add an ovc record to generate a ovcID (ovc-provider);
    1. Add OVF to DNet, insert ovcID into dnetID's record (dnet-admin);
    1. Authorize DNet in OVF, the Tinc's meta node is the OVF(ovc-provider);
    1. Add nodes to dnet, insert Tinc nodes' pubkey into dnetID's record (end-user, dnet-admin);
    1. Tinc Node Connect to OVF (end-user);
    1. Layer 3 Private Overlay Network created (end-user).

For the end users, only the step 5,6,7 are needed.

Software

ProgramsDescriptionRun-On
dnetdthe DNC Token wallet and DNetDB daemonend-node
dnet-cliThe CLI to manage dnetdend-node
dnet-appthe App with GUIend-node
vlandthe vlan app daemon, which can be configured to run as client or ovc append-node for client,cloud for ovc
vlan-cliThe CLI to manage vlandend-node for client,cloud for ovc
vlan-appthe vlan App with GUIend-node

Note: only the vland daemon needs to run 24x7 for the overlay network, and other tools are launched whenever needed.

Edit this page on GitHub