Louis Maillard | f81d36b | 2024-07-23 14:38:28 -0400 | [diff] [blame] | 1 | # 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 |
Amna | 41848a2 | 2024-01-22 16:22:57 -0500 | [diff] [blame] | 5 | bootstrap: "bootstrap.jami.net" |
Louis Maillard | f81d36b | 2024-07-23 14:38:28 -0400 | [diff] [blame] | 6 | |
| 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 |
Amna | 41848a2 | 2024-01-22 16:22:57 -0500 | [diff] [blame] | 11 | turn_host: "turn.jami.net" |
| 12 | turn_user: "ring" |
| 13 | turn_pass: "ring" |
| 14 | turn_realm: "ring" |
Louis Maillard | f81d36b | 2024-07-23 14:38:28 -0400 | [diff] [blame] | 15 | |
| 16 | # When verbose is set to true, the server logs all incoming connections |
| 17 | verbose: false |
| 18 | |
Amna | 45db776 | 2024-07-24 18:33:48 -0400 | [diff] [blame] | 19 | # If true, will send request to use UPNP if available |
| 20 | enable_upnp: true |
| 21 | |
Louis Maillard | f81d36b | 2024-07-23 14:38:28 -0400 | [diff] [blame] | 22 | # On server, identities are saved in /etc/dhtnet/id/ |
| 23 | # On client, identities are saved in ~/.dnc/ |
| 24 | #certificate: "to/your/certificate.crt" |
| 25 | #privateKey: "to/your/privatekey.pem" |
| 26 | |
| 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 |
Amna | 41848a2 | 2024-01-22 16:22:57 -0500 | [diff] [blame] | 34 | ip: "127.0.0.1" |
Louis Maillard | f81d36b | 2024-07-23 14:38:28 -0400 | [diff] [blame] | 35 | port: 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 |
| 43 | anonymous: false |
| 44 | |
Amna | 2ee14f0 | 2024-07-24 15:15:55 -0400 | [diff] [blame] | 45 | # 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. |
| 48 | authorized_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 |