blob: e3dc30bf9bf1cf6e19be52bdc7f8937cbeed4116 [file] [log] [blame]
Louis Maillardf81d36b2024-07-23 14:38:28 -04001# The bootstrap node serves as the entry point to the DHT network.
2# By default, bootstrap.jami.net is configured for the public DHT network and should be used for personal use only.
3# For production environments, it is recommended to set up your own bootstrap node to establish your own DHT network.
4# Documentation: https://docs.jami.net/en_US/user/lan-only.html#boostraping
Amna41848a22024-01-22 16:22:57 -05005bootstrap: "bootstrap.jami.net"
Louis Maillardf81d36b2024-07-23 14:38:28 -04006
7# TURN server is used as a fallback for connections if the NAT block all possible connections.
8# By default is turn.jami.net (which uses coturn) but can be any TURN.
9# Developer must set up their own TURN server.
10# Documentation: https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html
Amna41848a22024-01-22 16:22:57 -050011turn_host: "turn.jami.net"
12turn_user: "ring"
13turn_pass: "ring"
14turn_realm: "ring"
Louis Maillardf81d36b2024-07-23 14:38:28 -040015
16# When verbose is set to true, the server logs all incoming connections
17verbose: false
18
Amna45db7762024-07-24 18:33:48 -040019# If true, will send request to use UPNP if available
20enable_upnp: true
21
Louis Maillardf81d36b2024-07-23 14:38:28 -040022# On server, identities are saved in /etc/dhtnet/id/
23# On client, identities are saved in ~/.dnc/
Louis Maillard1d0be552024-07-30 16:50:51 -040024#certificate: "/etc/dhtnet/id/id-server.crt"
25#privateKey: "/etc/dhtnet/id/id-server.pem"
Louis Maillardf81d36b2024-07-23 14:38:28 -040026
27
28##########################
29### For Client Use Only ##
30##########################
31
32# When dnc server receives connexions, it forwards them to service at specified IP:port requested by CLIENT.
33# By default, it forwards them to SSH server running on localhost at port 22
Amna41848a22024-01-22 16:22:57 -050034ip: "127.0.0.1"
Louis Maillardf81d36b2024-07-23 14:38:28 -040035port: 22
36
37##########################
38### For Server Use Only ##
39##########################
40
41# When anonymous is set to true, the server accepts any connection without checking CA
42# When anonymous is set to false, the server allows only connection which are issued by the same CA as the server
43anonymous: false
44
Amna2ee14f02024-07-24 15:15:55 -040045# List of authorized services
46# Each service is defined by an IP and a port
47# If no authorized services are defined, the server will accept any connection.
48authorized_services:
49 - ip: "127.0.0.1"
50 port: 22
51 # - ip: "127.0.0.1"
52 # port: 80
53 # - ip: "127.0.0.1"
54 # port: 443