Advanced

Private TURN servers

In topologies where both sides are behind a symmetric or carrier-grade NAT (CGNAT), establishing a peer-to-peer connection using the built-in STUN functionality fails. This is where private TURN servers come into play: You can add up to two different TURN servers - they are only required on the assistant side.

Dayon! Assistant: TURN servers

The format is: host:port:user:password or [ipv6]:port:user:password.

You do not need to run your own TURN server; for example, ExpressTURN offers TURN servers with up to 1,000 GB of traffic per month for free! For even more restricted environments, they also offer a premium plan, with servers running at port 80 and 443.

TURN vs TURNS: Using TURN is perfectly safe, as Dayon! encripts all its traffic end-to-end (RSA-4096, TLS1.3).

Automatic connection of the assisted via command line

The host name or IP address and port of the assistant can be passed via command line parameters, where ah=host or IP address, and ap=port number:

If the assisted is started with these example parameters, it connects directly to the host "an.example.com" and port "4242".

Configuring Dayon! using configuration file

Since version v11.0.5, the connection parameters can be stored in a configuration YAML file.

This makes it possible to override user settings since the configuration from the YAML is always read and evaluated on start up. Users can make changes inside the application, but these only last until the next start if a YAML configuration is in place.

The primary use case for YAML configurations would be for organisations that want to use a self-hosted token server instead of the public token server, or want to specify a particular host that the assisted should automatically connect to on startup.

Assisted

The structure of the assisted.yaml is extremely simple:

host: "an.example.com"
port: 8080
# autoConnect: false
# tokenServerUrl: "https://example.org/token/"

Assistant

The assistant.yaml is similar:

The YAML file(s) can be saved under the name assisted.yaml and assistant.yaml either in the Dayon! home directory, in the user directory, or in the same directory as the .jar, resp. .exe file. This order also corresponds to the priority with which they are taken into account in the case of multiple configurations exist. (first one wins)

How to run a custom token server (RVS)

Prerequisites

Setup

Public token servers

Below you find a list of available public token servers that are free to use.
Check the availability of a token server by clicking on its link. If a version number is displayed directly, it is active.

Would you like to contribute and add your RVS to the list? let me know!